X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchbar.cpp;h=18b0b438a34d9afd869c071102b2152426d4a763;hp=3ebf67c9f26855829333d21deb4088cc4a439b25;hb=900cce213a6ed000b7131a05a0dec7d04b35b023;hpb=fcacaaf16551524c7ebb6114254d005274cc3d63 diff --git a/src/qtui/chatviewsearchbar.cpp b/src/qtui/chatviewsearchbar.cpp index 3ebf67c9..18b0b438 100644 --- a/src/qtui/chatviewsearchbar.cpp +++ b/src/qtui/chatviewsearchbar.cpp @@ -41,7 +41,7 @@ ChatViewSearchBar::ChatViewSearchBar(QWidget *parent) ActionCollection *coll = QtUi::actionCollection("General"); QAction *toggleSearchBar = coll->action("ToggleSearchBar"); - connect(toggleSearchBar, SIGNAL(toggled(bool)), SLOT(setVisible(bool))); + connect(toggleSearchBar, &QAction::toggled, this, &QWidget::setVisible); auto *hideSearchBar = coll->add("HideSearchBar", toggleSearchBar, SLOT(setChecked(bool))); hideSearchBar->setShortcutConfigurable(false);