mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Move call forward
This commit is contained in:
parent
674fa21717
commit
9fafa06063
@ -43,8 +43,6 @@ TrayIconController::TrayIconController(QSettings *settings, LibraryWindow *windo
|
||||
}
|
||||
});
|
||||
|
||||
updateIconVisibility();
|
||||
|
||||
auto restoreAction = new QAction(tr("&Restore"), this);
|
||||
connect(restoreAction, &QAction::triggered, this, &TrayIconController::showWindow);
|
||||
|
||||
@ -57,6 +55,8 @@ TrayIconController::TrayIconController(QSettings *settings, LibraryWindow *windo
|
||||
trayIconMenu->addAction(quitAction);
|
||||
|
||||
trayIcon.setContextMenu(trayIconMenu);
|
||||
|
||||
updateIconVisibility();
|
||||
}
|
||||
|
||||
void TrayIconController::updateIconVisibility()
|
||||
|
Loading…
Reference in New Issue
Block a user