mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 21:46:03 +03:00
Remove useless check. QFile::exists() is CI on CI filesystems
Tested on OS X and Windows
This commit is contained in:
parent
1b67f253dc
commit
ed19107161
1 changed files with 2 additions and 4 deletions
|
@ -104,10 +104,8 @@ void PropagateLocalMkdir::start()
|
|||
if (_propagator->_abortRequested.fetchAndAddRelaxed(0))
|
||||
return;
|
||||
|
||||
QString newDirName( _propagator->_localDir + _item._file );
|
||||
QDir newDir( newDirName );
|
||||
QString sysDirName = newDir.dirName();
|
||||
if( newDir.exists() && ! _item._file.endsWith(sysDirName, Qt::CaseSensitive)) {
|
||||
QDir newDir( _propagator->_localDir + _item._file );
|
||||
if(newDir.exists()) {
|
||||
qDebug() << "WARN: new directory to create locally already exists!";
|
||||
done( SyncFileItem::NormalError, tr("Attention, possible case sensitivity clash with %1").arg(newDirName) );
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue