summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-14 12:17:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-14 12:17:46 +0200
commitfc07debcf06be1648afb60653bead970c93258ac (patch)
tree8c27ebb6acac15e6860352d0e838114c21c389dd /src/mainwindow.cpp
parentFixed (hopefully) searchbar. Near its last release.. (diff)
downloadrekonq-fc07debcf06be1648afb60653bead970c93258ac.tar.xz
Fixed FullScreen Action & provided it in contextual menu, in fullscreen mode
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index adc6fc87..3311dfa8 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -224,7 +224,11 @@ void MainWindow::setupActions()
KStandardAction::find(this, SLOT(slotViewFindBar()) , actionCollection());
KStandardAction::findNext(this, SLOT(slotFindNext()) , actionCollection());
KStandardAction::findPrev(this, SLOT(slotFindPrevious()) , actionCollection());
- KStandardAction::fullScreen(this, SLOT(slotViewFullScreen(bool)), this, actionCollection());
+
+ // we all like "short" shortcuts.. ;)
+ a = KStandardAction::fullScreen(this, SLOT(slotViewFullScreen(bool)), this, actionCollection());
+ a->setShortcut(KShortcut(Qt::Key_F11));
+
KStandardAction::home(this, SLOT(slotHome()), actionCollection());
KStandardAction::preferences(this, SLOT(slotPreferences()), actionCollection());
KStandardAction::showMenubar(this, SLOT(slotShowMenubar(bool)), actionCollection());