Olivier Goffart 9 лет назад
Родитель
Сommit
cb64ba22b3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/libsync/syncfilestatustracker.cpp

+ 1 - 1
src/libsync/syncfilestatustracker.cpp

@@ -162,7 +162,7 @@ void SyncFileStatusTracker::slotAboutToPropagate(SyncFileItemVector& items)
     // Swap into a copy since fileStatus() reads _dirtyPaths to determine the status
     QSet<QString> oldDirtyPaths;
     std::swap(_dirtyPaths, oldDirtyPaths);
-    for (auto it = oldDirtyPaths.cbegin(); it != oldDirtyPaths.cend(); ++it)
+    for (auto it = oldDirtyPaths.constBegin(); it != oldDirtyPaths.constEnd(); ++it)
         emit fileStatusChanged(getSystemDestination(*it), fileStatus(*it));
 
     // Make sure to push any status that might have been resolved indirectly since the last sync