summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-25 11:09:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-25 11:09:21 +0200
commit89b55847244ac390e987b7cdc4ce2cc77f9af192 (patch)
treef40ada95339837801afffac02a67bcbe191dd78c
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-89b55847244ac390e987b7cdc4ce2cc77f9af192.tar.xz
Alternate F6 shortcut for open location action
BUG:238371
-rw-r--r--src/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 1b36e6de..b80805b1 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -320,7 +320,9 @@ void MainWindow::setupActions()
browserLoading(false); //first init for blank start page
a = new KAction(i18n("Open Location"), this);
- a->setShortcut(Qt::CTRL + Qt::Key_L);
+ KShortcut openLocationShortcut(Qt::CTRL + Qt::Key_L);
+ openLocationShortcut.setAlternate(Qt::Key_F6);
+ a->setShortcut(openLocationShortcut);
actionCollection()->addAction(QL1S("open_location"), a);
connect(a, SIGNAL(triggered(bool)) , this, SLOT(openLocation()));