From 7d0f89ef462c4f91e9b7510cf6d558767f520dd7 Mon Sep 17 00:00:00 2001 From: Manuel Dewald Date: Tue, 1 Oct 2019 10:35:13 +0200 Subject: [PATCH] Enable system tray icon click slot for Mac OS --- src/gui/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp index b8ea55ebe..534a3e766 100644 --- a/src/gui/MainWindow.cpp +++ b/src/gui/MainWindow.cpp @@ -1053,10 +1053,10 @@ void MainWindow::updateTrayIcon() #else menu->addAction(m_ui->actionQuit); +#endif connect(m_trayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), SLOT(trayIconTriggered(QSystemTrayIcon::ActivationReason))); -#endif connect(actionToggle, SIGNAL(triggered()), SLOT(toggleWindow())); m_trayIcon->setContextMenu(menu);