Fix cmd+w not closing the main window on macOS

This commit is contained in:
vit9696 2017-12-12 18:01:55 +03:00
parent 84c84160fd
commit ff7e5da6de
3 changed files with 24 additions and 1 deletions

View file

@ -187,7 +187,9 @@ private slots:
void toolbarTextBeside();
void toolbarTextUnder();
void toolbarFollowSystem();
#ifndef Q_OS_MAC
#ifdef Q_OS_MAC
void on_actionCloseWindow_triggered();
#else
void toggleVisibility(const QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::Trigger);
void createSystrayDelayed();
void updateTrayIconMenu();