Added close window shortcut

This commit is contained in:
defnax 2023-12-30 00:15:28 +01:00
parent 79977a0c37
commit 75ef4dceb5
2 changed files with 18 additions and 1 deletions

View file

@ -267,6 +267,7 @@ private slots:
#if defined(Q_OS_DARWIN)
void minimizeWindow();
void closeWindow();
#endif
/** Toolbar fns. */
@ -337,6 +338,7 @@ private:
QMenuBar *menuBar;
QMenu *dockMenu;
QAction* actionMinimize;
QAction* actionCloseWindow;
#endif
QSystemTrayIcon *trayIcon;