Hi,

only for convenience this patch adds a shortcut list for the "find" action and 
adds statically Qt::Key_Slash to the shortcut list like the other browsers 
have.

Besides that: Go for 0.3! :-) 
Johannes
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 7a9e3ad..977ebbd 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 );
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to