X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fposixsignalwatcher.cpp;h=4da9539a5db467f1ae39c5e887491e9520d9e6ac;hp=7de0e773546739e50f6f5ec3d31d69d942f8f241;hb=6eefdfc697067d184a589fc8a231b16316c09106;hpb=42ab7cc22c4702716db2b8bfa1d4545169f772e6 diff --git a/src/common/posixsignalwatcher.cpp b/src/common/posixsignalwatcher.cpp index 7de0e773..4da9539a 100644 --- a/src/common/posixsignalwatcher.cpp +++ b/src/common/posixsignalwatcher.cpp @@ -45,7 +45,7 @@ PosixSignalWatcher::PosixSignalWatcher(QObject *parent) } _notifier = new QSocketNotifier(_sockpair[1], QSocketNotifier::Read, this); - connect(_notifier, SIGNAL(activated(int)), this, SLOT(onNotify(int))); + connect(_notifier, &QSocketNotifier::activated, this, &PosixSignalWatcher::onNotify); _notifier->setEnabled(true); registerSignal(SIGINT);