X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchbar.cpp;h=a7e6ceda05142e8c85c605d3494348c384cb7e30;hp=0ea119ec25a22443cbf2274e38ea5f57f62b3661;hb=13eefb3ca78e1e144fb31a52faaf56d9e7c3a691;hpb=084d95e60b0fb587b1950a3e4f8ec5e4f017446c;ds=sidebyside diff --git a/src/qtui/chatviewsearchbar.cpp b/src/qtui/chatviewsearchbar.cpp index 0ea119ec..a7e6ceda 100644 --- a/src/qtui/chatviewsearchbar.cpp +++ b/src/qtui/chatviewsearchbar.cpp @@ -42,7 +42,8 @@ ChatViewSearchBar::ChatViewSearchBar(QWidget *parent) QAction *toggleSearchBar = coll->action("ToggleSearchBar"); connect(toggleSearchBar, SIGNAL(toggled(bool)), SLOT(setVisible(bool))); - Action *hideSearchBar = coll->add("HideSearchBar", toggleSearchBar, SLOT(setChecked(bool))); // always false + Action *hideSearchBar = coll->add("HideSearchBar", toggleSearchBar, SLOT(setChecked(bool))); + hideSearchBar->setShortcutConfigurable(false); hideSearchBar->setShortcut(Qt::Key_Escape); connect(ui.hideButton, SIGNAL(clicked()), toggleSearchBar, SLOT(toggle()));