mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-29 10:56:48 -05:00
implement a (nonperfect) hide-to-tray on win close
This commit is contained in:
parent
6b7f7bb777
commit
5982763bed
5 changed files with 35 additions and 2 deletions
|
|
@ -65,6 +65,7 @@ private Q_SLOTS:
|
|||
void applySettingsChanges();
|
||||
void trayIconTriggered(QSystemTrayIcon::ActivationReason reason);
|
||||
void toggleWindow();
|
||||
void appExit();
|
||||
|
||||
private:
|
||||
static void setShortcut(QAction* action, QKeySequence::StandardKey standard, int fallback = 0);
|
||||
|
|
@ -87,6 +88,8 @@ private:
|
|||
QSystemTrayIcon* m_trayIcon;
|
||||
|
||||
Q_DISABLE_COPY(MainWindow)
|
||||
|
||||
bool appExitCalled;
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_MAINWINDOW_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue