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