Use standard key sequence for toggling search rather than hardcoding Ctrl+F
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 14 Mar 2009 22:33:02 +0000 (23:33 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 14 Mar 2009 22:33:02 +0000 (23:33 +0100)
src/qtui/mainwin.cpp

index 2b758d5..b12fad4 100644 (file)
@@ -238,7 +238,7 @@ void MainWin::setupActions() {
   connect(lockAct, SIGNAL(toggled(bool)), SLOT(on_actionLockLayout_toggled(bool)));
 
   coll->addAction("ToggleSearchBar", new Action(SmallIcon("edit-find"), tr("Show &Search Bar"), coll,
-                                               0, 0, tr("Ctrl+F")))->setCheckable(true);
+                                               0, 0, QKeySequence::Find))->setCheckable(true);
   coll->addAction("ShowAwayLog", new Action(tr("Show Away Log"), coll,
                                            this, SLOT(showAwayLog())));
   coll->addAction("ToggleStatusBar", new Action(tr("Show Status &Bar"), coll,