mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-21 07:20:28 -05:00
Enable system tray icon click slot for Mac OS
This commit is contained in:
parent
058b4da954
commit
7d0f89ef46
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue