From 69a1e46d0c3b978990f6b14b9e5043131a12437e Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Tue, 18 Oct 2016 12:29:52 +0200 Subject: [PATCH] Progress: Reset lastCompletedItem #5256 Otherwise progress listeners think it's still the last-completed item when the next sync starts. This lead to spurious entries in the "Recent Changes" list. --- src/libsync/progressdispatcher.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsync/progressdispatcher.cpp b/src/libsync/progressdispatcher.cpp index 09022e689..d630d3e4f 100644 --- a/src/libsync/progressdispatcher.cpp +++ b/src/libsync/progressdispatcher.cpp @@ -147,6 +147,7 @@ void ProgressInfo::reset() _maxBytesPerSecond = 100000.0; _maxFilesPerSecond = 2.0; _updateEstimatesTimer.stop(); + _lastCompletedItem = SyncFileItem(); } void ProgressInfo::startEstimateUpdates() -- 2.39.5