X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatmonitorview.cpp;h=71c975b9bccf704e948b0967244ed06aea593b81;hp=932e2abbe5fc40f50ca7eedebe8bc249780d9ff1;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=b7447afe8e836376776dac26704e227a678d2913 diff --git a/src/qtui/chatmonitorview.cpp b/src/qtui/chatmonitorview.cpp index 932e2abb..71c975b9 100644 --- a/src/qtui/chatmonitorview.cpp +++ b/src/qtui/chatmonitorview.cpp @@ -46,7 +46,7 @@ ChatMonitorView::ChatMonitorView(ChatMonitorFilter *filter, QWidget *parent) // The normal message prefixes get replaced by the network and buffer name. Re-add brackets for // all message types. scene()->setAlwaysBracketSender(true); - connect(Client::instance(), SIGNAL(coreConnectionStateChanged(bool)), this, SLOT(coreConnectionStateChanged(bool))); + connect(Client::instance(), &Client::coreConnectionStateChanged, this, &ChatMonitorView::coreConnectionStateChanged); } @@ -101,7 +101,7 @@ void ChatMonitorView::mouseDoubleClickEvent(QMouseEvent *event) void ChatMonitorView::showFieldsChanged(bool checked) { - QAction *showAction = qobject_cast(sender()); + auto *showAction = qobject_cast(sender()); if (!showAction) return;