From 6381dfff504b158683ee5d4300c1ad8a32731c0c Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Thu, 27 Feb 2014 22:33:35 -0500 Subject: [PATCH] Add F11 as a shortcut for full screen BUG: 303424 FIXED: 2.14 (cherry picked from commit 47fafb21349c2b779cdfb8eabf88a0d1edc19d08) --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index cf434ad7..273686e6 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -348,7 +348,7 @@ void MainWindow::setupActions() // Full Screen menuAction = KStandardAction::fullScreen(this, SLOT(viewFullScreen(bool)), this, collection); - menuAction->setShortcut(QKeySequence()); + menuAction->setShortcut(QKeySequence(Qt::Key_F11)); KStandardAction::configureNotifications(this, SLOT(configureNotifications()), collection); KStandardAction::keyBindings(this, SLOT(showShortcutsDialog()), collection);