From 9fac497e6e7ba7f1f429f109212240eb65d1cf14 Mon Sep 17 00:00:00 2001 From: alex-z Date: Thu, 18 Apr 2024 15:42:09 +0200 Subject: [PATCH] Hotfix. Slow download speed while tray is open. Do not run rotation animation in syncstatus in tray. Signed-off-by: alex-z --- src/gui/tray/SyncStatus.qml | 2 +- src/gui/tray/syncstatussummary.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/tray/SyncStatus.qml b/src/gui/tray/SyncStatus.qml index bbec0e4ea..25d4f6911 100644 --- a/src/gui/tray/SyncStatus.qml +++ b/src/gui/tray/SyncStatus.qml @@ -34,7 +34,7 @@ RowLayout { padding: 0 imageSource: syncStatus.syncIcon - running: syncStatus.syncing + running: false // hotfix for download speed slowdown when tray is open } ColumnLayout { diff --git a/src/gui/tray/syncstatussummary.cpp b/src/gui/tray/syncstatussummary.cpp index aa333c8a2..987e725e9 100644 --- a/src/gui/tray/syncstatussummary.cpp +++ b/src/gui/tray/syncstatussummary.cpp @@ -154,7 +154,7 @@ void SyncStatusSummary::setSyncStateForFolder(const Folder *folder) break; case SyncResult::SyncRunning: case SyncResult::NotYetStarted: - setSyncing(false); + setSyncing(true); if (totalFiles() <= 0) { setSyncStatusString(tr("Preparing sync")); } else {