aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/General/history/history.cpp1
-rw-r--r--src/plugins/General/library/library.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/General/history/history.cpp b/src/plugins/General/history/history.cpp
index 89f732f05..21ed05d36 100644
--- a/src/plugins/General/history/history.cpp
+++ b/src/plugins/General/history/history.cpp
@@ -55,6 +55,7 @@ History::History(QObject *parent) : QObject(parent)
}
QAction *action = new QAction(tr("History"), this);
+ action->setShortcut(tr("Alt+H"));
action->setIcon(QIcon::fromTheme("text-x-generic"));
UiHelper::instance()->addAction(action, UiHelper::TOOLS_MENU);
connect(action, SIGNAL(triggered()), SLOT(showHistoryWindow()));
diff --git a/src/plugins/General/library/library.cpp b/src/plugins/General/library/library.cpp
index 788c82811..f9ac5d9ed 100644
--- a/src/plugins/General/library/library.cpp
+++ b/src/plugins/General/library/library.cpp
@@ -63,6 +63,7 @@ Library::Library(QPointer<LibraryWidget> *libraryWidget, QObject *parent) :
m_dirs = settings.value("Library/dirs").toStringList();
m_showAction = new QAction(QIcon::fromTheme("text-x-generic"), tr("Library"), this);
+ m_showAction->setShortcut(tr("Alt+L"));
UiHelper::instance()->addAction(m_showAction, UiHelper::TOOLS_MENU);
connect(m_showAction, SIGNAL(triggered()), SLOT(showLibraryWindow()));
if(!m_libraryWidget->isNull() && !m_libraryWidget->data()->isWindow())