X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fctcpparser.cpp;h=f60311c732ac4e2d47eb1cba6b2b104850e7ea4d;hp=8c43ffb38ab55dd4a1ac7c14d1b9a5f78e0e22c0;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=714b39660fe19e7f092880019429c8da76ee2bd5 diff --git a/src/core/ctcpparser.cpp b/src/core/ctcpparser.cpp index 8c43ffb3..f60311c7 100644 --- a/src/core/ctcpparser.cpp +++ b/src/core/ctcpparser.cpp @@ -40,8 +40,8 @@ CtcpParser::CtcpParser(CoreSession *coreSession, QObject *parent) setStandardCtcp(_coreSession->networkConfig()->standardCtcp()); - connect(_coreSession->networkConfig(), SIGNAL(standardCtcpSet(bool)), this, SLOT(setStandardCtcp(bool))); - connect(this, SIGNAL(newEvent(Event *)), _coreSession->eventManager(), SLOT(postEvent(Event *))); + connect(_coreSession->networkConfig(), &NetworkConfig::standardCtcpSet, this, &CtcpParser::setStandardCtcp); + connect(this, &CtcpParser::newEvent, _coreSession->eventManager(), &EventManager::postEvent); }