diff options
author | Klaas Freitag <freitag@owncloud.com> | 2022-01-10 13:37:03 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-01-10 14:27:30 +0300 |
commit | b6bea8e31765659151721a1051e222dc37a96322 (patch) | |
tree | 47d6570aabaa5f3369386491acaadcc9489b55e5 /src/gui/folderman.cpp | |
parent | 47b8cdaf5801bfad73bdb806a9ae1840f2d31a65 (diff) |
Add chrono var initialization as requested in review.
Diffstat (limited to 'src/gui/folderman.cpp')
-rw-r--r-- | src/gui/folderman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index 0172435de..b34a3df64 100644 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -818,7 +818,7 @@ void FolderMan::startScheduledSyncSoon() } seconds delay { 1s }; // Startup, if _lastSyncFolder is still empty. - seconds sinceLastSync; + seconds sinceLastSync {}; // Require a pause based on the duration of the last sync run. if (Folder *lastFolder = _lastSyncFolder) { |