From: Manuel Nickschas Date: Sat, 14 Mar 2009 22:33:02 +0000 (+0100) Subject: Use standard key sequence for toggling search rather than hardcoding Ctrl+F X-Git-Tag: 0.5-rc1~282 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=4d95e6e79bc9e306c5c9cd1e20b61479bdc61350 Use standard key sequence for toggling search rather than hardcoding Ctrl+F --- diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 2b758d50..b12fad43 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -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,