diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2009-11-18 11:14:34 +0100 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2009-11-18 11:14:34 +0100 | 
| commit | f29e4041fa6b2a8d8c04602c5dc839823fda3ae3 (patch) | |
| tree | 67d6906b62083416a8f2c64b56681b0bd6b89c7f | |
| parent | rekonq 0.3.0 (diff) | |
| download | rekonq-f29e4041fa6b2a8d8c04602c5dc839823fda3ae3.tar.xz | |
Activate Find with slash, too.
Never noticed this browser behaviour :D
| -rw-r--r-- | src/mainwindow.cpp | 8 | 
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 ); | 
