mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-15 01:07:27 -05:00
parent
de1a94ff61
commit
ba7b787dd3
@ -19,6 +19,7 @@
|
|||||||
#include "ui_MainWindow.h"
|
#include "ui_MainWindow.h"
|
||||||
|
|
||||||
#include <QtGui/QCloseEvent>
|
#include <QtGui/QCloseEvent>
|
||||||
|
#include <QtGui/QShortcut>
|
||||||
|
|
||||||
#include "autotype/AutoType.h"
|
#include "autotype/AutoType.h"
|
||||||
#include "core/Config.h"
|
#include "core/Config.h"
|
||||||
@ -73,6 +74,10 @@ MainWindow::MainWindow()
|
|||||||
setShortcut(m_ui->actionEntryAutoType, QKeySequence::Paste, Qt::CTRL + Qt::Key_V);
|
setShortcut(m_ui->actionEntryAutoType, QKeySequence::Paste, Qt::CTRL + Qt::Key_V);
|
||||||
m_ui->actionEntryOpenUrl->setShortcut(Qt::CTRL + Qt::Key_U);
|
m_ui->actionEntryOpenUrl->setShortcut(Qt::CTRL + Qt::Key_U);
|
||||||
|
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
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"));
|
||||||
m_ui->actionDatabaseSave->setIcon(filePath()->icon("actions", "document-save"));
|
m_ui->actionDatabaseSave->setIcon(filePath()->icon("actions", "document-save"));
|
||||||
|
Loading…
Reference in New Issue
Block a user