Remove useless check. QFile::exists() is CI on CI filesystems

Tested on OS X and Windows
This commit is contained in:
Daniel Molkentin 2014-05-22 10:05:57 +02:00
parent 1b67f253dc
commit ed19107161

View file

@ -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;