diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-08-02 11:32:02 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-08-02 11:32:02 +0200 |
commit | ad0132532bfd00a814b863ed95663709f1635202 (patch) | |
tree | 9b2dafedbb32b1005d746f3586fcd55c176d4030 /src/webwindow | |
parent | Get sure web settings are applied BEFORE loading pages (diff) | |
download | rekonq-ad0132532bfd00a814b863ed95663709f1635202.tar.xz |
Add '/' (slash) shortcut to launch search bar
BUG: 323052
Diffstat (limited to 'src/webwindow')
-rw-r--r-- | src/webwindow/webwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp index 34daa9ba..bb857ec4 100644 --- a/src/webwindow/webwindow.cpp +++ b/src/webwindow/webwindow.cpp @@ -270,6 +270,7 @@ void WebWindow::setupActions() // find action a = KStandardAction::find(m_findBar, SLOT(show()), actionCollection()); KShortcut findShortcut = KStandardShortcut::find(); + findShortcut.setAlternate(Qt::Key_Slash); a->setShortcut(findShortcut); KStandardAction::findNext(m_findBar, SLOT(findNext()), actionCollection()); |