X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fchatviewsearchbar.cpp;h=a7e6ceda05142e8c85c605d3494348c384cb7e30;hb=e531fd1f1ea36a360a9d876c94e73b0f3b1bcd22;hp=0ea119ec25a22443cbf2274e38ea5f57f62b3661;hpb=4775cbfc0dde54bad2a483a51409f392187a20f3;p=quassel.git 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()));