X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchbar.cpp;h=18b0b438a34d9afd869c071102b2152426d4a763;hp=3ebf67c9f26855829333d21deb4088cc4a439b25;hb=6eefdfc697067d184a589fc8a231b16316c09106;hpb=42ab7cc22c4702716db2b8bfa1d4545169f772e6 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);