mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-10 03:38:33 -05:00
add Lock Databases option to tray icon menu
This is useful when keepassxc is minimized/hidden to the tray, and all the plumbing is already in place from the lock icon button in the main window UI.
This commit is contained in:
parent
d7660dad37
commit
b3ce7ec9c4
@ -936,6 +936,8 @@ void MainWindow::updateTrayIcon()
|
|||||||
QAction* actionToggle = new QAction(tr("Toggle window"), menu);
|
QAction* actionToggle = new QAction(tr("Toggle window"), menu);
|
||||||
menu->addAction(actionToggle);
|
menu->addAction(actionToggle);
|
||||||
|
|
||||||
|
menu->addAction(m_ui->actionLockDatabases);
|
||||||
|
|
||||||
#ifdef Q_OS_MACOS
|
#ifdef Q_OS_MACOS
|
||||||
QAction* actionQuit = new QAction(tr("Quit KeePassXC"), menu);
|
QAction* actionQuit = new QAction(tr("Quit KeePassXC"), menu);
|
||||||
menu->addAction(actionQuit);
|
menu->addAction(actionQuit);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user