Skip to content

Commit

Permalink
Re-run update sync paused state slot when folder list has changed
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
  • Loading branch information
claucambra authored and camilasan committed Apr 23, 2024
1 parent ddb67ca commit 4709962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/systray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4709962

Please sign in to comment.