diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-25 12:21:43 +0100 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-25 12:21:43 +0100 | 
| commit | 3976c2fed4386270b40ecb3344646b00b5a7cafe (patch) | |
| tree | 01e6599b5c4aa67a87930d6c984f99c7a0f26ec5 | |
| parent | Forgot Dario.. (sorry) (diff) | |
| download | rekonq-3976c2fed4386270b40ecb3344646b00b5a7cafe.tar.xz | |
Fixing "Global" vs "standard" shortcuts.
This come out discussing (without understanding ourselves :D) with
Ronny Scholz
| -rw-r--r-- | src/mainwindow.cpp | 4 | 
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()); | 
