Skip to content

Commit

Permalink
Enable system tray icon click slot for Mac OS
Browse files Browse the repository at this point in the history
  • Loading branch information
NautiluX authored and droidmonkey committed Oct 5, 2019
1 parent 058b4da commit 7d0f89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/MainWindow.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 7d0f89e

Please sign in to comment.