Skip to content

Commit ecaefc6

Browse files
Rellomgallien
authored andcommitted
fix(tray): Fixed the missing lambda capture
Assisted-by: Codex:GPT-5 Signed-off-by: Rello <github@scherello.de>
1 parent f4af5b4 commit ecaefc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gui/trayaccountpopup_qt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ void populateTrayMenu(QMenu *menu, Systray *systray)
875875
}
876876

877877
const auto syncControlState = systray->syncControlState();
878-
const auto addSyncControlAction = [menu, systray, &menuIconPalette](const bool pausesSync) {
878+
const auto addSyncControlAction = [menu, systray, &menuIconPalette, &menuIconSize](const bool pausesSync) {
879879
const auto syncControlIconUrl = pausesSync ? Theme::instance()->pause() : Theme::instance()->sync();
880880
const auto syncControlAction = addMenuAction(menu,
881881
templateIconFromIcon(iconFromUrl(syncControlIconUrl), menuIconSize, menuIconPalette),

0 commit comments

Comments
 (0)