X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchbar.cpp;h=a8d468064734291dacca4cfa1e1bbef77c327bf7;hp=279e0e4033406681ccb5d22d399698efef62f588;hb=e2188dc438be6f3eb0d9cdf47d28821aefe9835e;hpb=c194ed5fb3d15e14b9364f9796d3521910dc72fe diff --git a/src/qtui/chatviewsearchbar.cpp b/src/qtui/chatviewsearchbar.cpp index 279e0e40..a8d46806 100644 --- a/src/qtui/chatviewsearchbar.cpp +++ b/src/qtui/chatviewsearchbar.cpp @@ -43,7 +43,7 @@ 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))); + auto *hideSearchBar = coll->add("HideSearchBar", toggleSearchBar, SLOT(setChecked(bool))); hideSearchBar->setShortcutConfigurable(false); hideSearchBar->setShortcut(Qt::Key_Escape);