SyncScheduling: Avoid new resyncs on local mkdir.

(cherry picked from commit bacf6166c1)
This commit is contained in:
Christian Kamm 2015-06-04 15:02:24 +02:00
parent c73110e3c7
commit ee08b3759d

View file

@ -119,6 +119,7 @@ void PropagateLocalMkdir::start()
done( SyncFileItem::NormalError, tr("Attention, possible case sensitivity clash with %1").arg(newDirStr) );
return;
}
_propagator->addTouchedFile(newDirStr);
QDir localDir(_propagator->_localDir);
if (!localDir.mkpath(_item._file)) {
done( SyncFileItem::NormalError, tr("could not create directory %1").arg(newDirStr) );