Skip to content

Commit

Permalink
Hotfix. Slow download speed while tray is open. Do not run rotation a…
Browse files Browse the repository at this point in the history
…nimation in syncstatus in tray.

Signed-off-by: alex-z <[email protected]>
  • Loading branch information
allexzander authored and backportbot[bot] committed Apr 25, 2024
1 parent d952288 commit d155ac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/tray/SyncStatus.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/gui/tray/syncstatussummary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d155ac1

Please sign in to comment.