summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e2e45ae0..52ea6068 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -276,10 +276,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 );