diff options
author | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2020-07-17 16:18:03 +0300 |
---|---|---|
committer | Kevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com> | 2020-07-21 13:10:07 +0300 |
commit | 82c70f0c9558a4d49c09060124ac905d68d7770b (patch) | |
tree | 4ed8773fcff89c19b5469725afd3a078c75ec74f /src/gui/systray.cpp | |
parent | 5ac3099b37b6ad933df2445e7407161e5f4833bd (diff) |
Properly set syncPause state on Systray creation when account init is done
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Diffstat (limited to 'src/gui/systray.cpp')
-rw-r--r-- | src/gui/systray.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 79105c8ce..3d33edc77 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -105,6 +105,11 @@ void Systray::create() } hideWindow(); emit activated(QSystemTrayIcon::ActivationReason::Unknown); + foreach (Folder *f, FolderMan::instance()->map()) { + if (!f->syncPaused()) { + _syncIsPaused = false; + } + } } void Systray::slotNewUserSelected() |