mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-12 07:06:07 -05:00
Enable Ctrl+M shortcut to minimize window on all platforms.
Closes #329
This commit is contained in:
parent
f236c32063
commit
bb38be40f6
1 changed files with 0 additions and 2 deletions
|
|
@ -92,9 +92,7 @@ MainWindow::MainWindow()
|
||||||
m_ui->actionEntryOpenUrl->setShortcut(Qt::CTRL + Qt::Key_U);
|
m_ui->actionEntryOpenUrl->setShortcut(Qt::CTRL + Qt::Key_U);
|
||||||
m_ui->actionEntryCopyURL->setShortcut(Qt::CTRL + Qt::ALT + Qt::Key_U);
|
m_ui->actionEntryCopyURL->setShortcut(Qt::CTRL + Qt::ALT + Qt::Key_U);
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
|
||||||
new QShortcut(Qt::CTRL + Qt::Key_M, this, SLOT(showMinimized()));
|
new QShortcut(Qt::CTRL + Qt::Key_M, this, SLOT(showMinimized()));
|
||||||
#endif
|
|
||||||
|
|
||||||
m_ui->actionDatabaseNew->setIcon(filePath()->icon("actions", "document-new"));
|
m_ui->actionDatabaseNew->setIcon(filePath()->icon("actions", "document-new"));
|
||||||
m_ui->actionDatabaseOpen->setIcon(filePath()->icon("actions", "document-open"));
|
m_ui->actionDatabaseOpen->setIcon(filePath()->icon("actions", "document-open"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue