mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-20 13:16:34 -04:00
Enable system tray icon click slot for Mac OS
This commit is contained in:
parent
058b4da954
commit
7d0f89ef46
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user