summaryrefslogtreecommitdiff
path: root/src/webwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-08-02 11:32:02 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-08-02 11:32:02 +0200
commitad0132532bfd00a814b863ed95663709f1635202 (patch)
tree9b2dafedbb32b1005d746f3586fcd55c176d4030 /src/webwindow
parentGet sure web settings are applied BEFORE loading pages (diff)
downloadrekonq-ad0132532bfd00a814b863ed95663709f1635202.tar.xz
Add '/' (slash) shortcut to launch search bar
BUG: 323052
Diffstat (limited to 'src/webwindow')
-rw-r--r--src/webwindow/webwindow.cpp1
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());