From 3976c2fed4386270b40ecb3344646b00b5a7cafe Mon Sep 17 00:00:00 2001
From: Andrea Diamantini <adjam7@gmail.com>
Date: Sun, 25 Oct 2009 12:21:43 +0100
Subject: Fixing "Global" vs "standard" shortcuts. This come out discussing
 (without understanding ourselves :D) with Ronny Scholz

---
 src/mainwindow.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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());
-- 
cgit v1.2.1