From: Claudio Cambra Date: Wed, 27 Mar 2024 11:25:37 +0000 (+0800) Subject: Re-run update sync paused state slot when folder list has changed X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~7^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=238d1a45831cf821eaf6a239974aaa810eed01ce;p=nextcloud-desktop.git Re-run update sync paused state slot when folder list has changed Signed-off-by: Claudio Cambra --- diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 45deb2c5e..d65258e1f 100644 --- 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)