From e3f49dfa641223b4f2e57d0579f154e9c8238c1c Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Fri, 7 Feb 2025 10:08:53 +0800 Subject: [PATCH] gui/tray: If there are successfully synced file provide raccounts do not present "problem" sync icon Signed-off-by: Claudio Cambra --- src/gui/owncloudgui.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp index 9a107f5eb7588..f383266479114 100644 --- a/src/gui/owncloudgui.cpp +++ b/src/gui/owncloudgui.cpp @@ -405,6 +405,12 @@ void ownCloudGui::slotComputeOverallSyncStatus() overallStatus != SyncResult::Error && overallStatus != SyncResult::SetupError) { overallStatus = SyncResult::SyncRunning; + } else if (!successFileProviderAccounts.isEmpty() && + overallStatus != SyncResult::SyncRunning && + overallStatus != SyncResult::Problem && + overallStatus != SyncResult::Error && + overallStatus != SyncResult::SetupError) { + overallStatus = SyncResult::Success; } #endif