projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b2ce63
)
Re-run update sync paused state slot when folder list has changed
author
Claudio Cambra
<claudio.cambra@nextcloud.com>
Wed, 27 Mar 2024 11:25:37 +0000
(19:25 +0800)
committer
Camila Ayres
<hello@camilasan.com>
Tue, 23 Apr 2024 18:18:18 +0000
(20:18 +0200)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/systray.cpp
patch
|
blob
|
history
diff --git
a/src/gui/systray.cpp
b/src/gui/systray.cpp
index 45deb2c5e01c1c394423bd72a6c714058484eb2b..d65258e1fa4687c8ead9c51ca20eebe0d6db7471 100644
(file)
--- a/
src/gui/systray.cpp
+++ b/
src/gui/systray.cpp
@@
-128,6
+128,7
@@
void Systray::create()
hideWindow();
emit activated(QSystemTrayIcon::ActivationReason::Unknown);
slotUpdateSyncPausedState();
+ connect(FolderMan::instance(), &FolderMan::folderListChanged, this, &Systray::slotUpdateSyncPausedState);
}
void Systray::showWindow(WindowPosition position)