mirror of https://github.com/nextcloud/desktop
Hotfix. Slow download speed while tray is open. Do not run rotation animation in syncstatus in tray.
Signed-off-by: alex-z <blackslayer4@gmail.com>
This commit is contained in:
parent
e41f702636
commit
5ea5a27b99
|
@ -34,7 +34,7 @@ RowLayout {
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
||||||
imageSource: syncStatus.syncIcon
|
imageSource: syncStatus.syncIcon
|
||||||
running: syncStatus.syncing
|
running: false // hotfix for download speed slowdown when tray is open
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
|
|
@ -154,7 +154,7 @@ void SyncStatusSummary::setSyncStateForFolder(const Folder *folder)
|
||||||
break;
|
break;
|
||||||
case SyncResult::SyncRunning:
|
case SyncResult::SyncRunning:
|
||||||
case SyncResult::NotYetStarted:
|
case SyncResult::NotYetStarted:
|
||||||
setSyncing(false);
|
setSyncing(true);
|
||||||
if (totalFiles() <= 0) {
|
if (totalFiles() <= 0) {
|
||||||
setSyncStatusString(tr("Preparing sync"));
|
setSyncStatusString(tr("Preparing sync"));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue