summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 7a9e3ad6..977ebbdb 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -268,10 +268,14 @@ void MainWindow::setupActions()
KStandardAction::print(this, SLOT(printRequested()), actionCollection());
KStandardAction::quit(this , SLOT(close()), actionCollection());
- KStandardAction::find(m_findBar, SLOT(show()) , actionCollection());
+ a = KStandardAction::find(m_findBar, SLOT(show()), actionCollection());
+ QList<QKeySequence> shortcutFindList;
+ shortcutFindList << KStandardShortcut::find() << QKeySequence( Qt::Key_Slash );
+ a->setShortcuts( shortcutFindList );
+
KStandardAction::findNext(this, SLOT(findNext()) , actionCollection());
KStandardAction::findPrev(this, SLOT(findPrevious()) , actionCollection());
-
+
a = KStandardAction::fullScreen(this, SLOT(viewFullScreen(bool)), this, actionCollection());
QList<QKeySequence> shortcutFullScreenList;
shortcutFullScreenList << KStandardShortcut::fullScreen() << QKeySequence( Qt::Key_F11 );