summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-25 12:21:43 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-10-25 12:21:43 +0100
commit3976c2fed4386270b40ecb3344646b00b5a7cafe (patch)
tree01e6599b5c4aa67a87930d6c984f99c7a0f26ec5 /src
parentForgot Dario.. (sorry) (diff)
downloadrekonq-3976c2fed4386270b40ecb3344646b00b5a7cafe.tar.xz
Fixing "Global" vs "standard" shortcuts.
This come out discussing (without understanding ourselves :D) with Ronny Scholz
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 39ec18e3..82c543fb 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -259,7 +259,9 @@ void MainWindow::setupActions()
// we all like "short" shortcuts.. ;)
a = KStandardAction::fullScreen(this, SLOT(slotViewFullScreen(bool)), this, actionCollection());
- a->setShortcut(KShortcut(Qt::Key_F11, Qt::CTRL + Qt::SHIFT + Qt::Key_F));
+ QList<QKeySequence> shortcutFullScreenList;
+ shortcutFullScreenList << KStandardShortcut::fullScreen() << QKeySequence( Qt::Key_F11 );
+ a->setShortcuts( shortcutFullScreenList );
KStandardAction::home(this, SLOT(slotHome()), actionCollection());
KStandardAction::preferences(this, SLOT(slotPreferences()), actionCollection());