From 76ff41f3e0d32539d39fa4953d232f6bb3fc97d3 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 4 Apr 2023 14:36:11 +0800 Subject: [PATCH] Properly report Undefined sync status when multiple folders syncing Signed-off-by: Claudio Cambra --- src/gui/folderman.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index 2361862fdd..1dd600a627 100644 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -1681,6 +1681,8 @@ void FolderMan::trayOverallStatus(const QList &folders, *status = SyncResult::SyncRunning; } else if (goodSeen > 0) { *status = SyncResult::Success; + } else if (various > 0) { + *status = SyncResult::Undefined; } } }