projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Replace most remaining old-style connects by PMF ones
[quassel.git]
/
src
/
common
/
posixsignalwatcher.cpp
diff --git
a/src/common/posixsignalwatcher.cpp
b/src/common/posixsignalwatcher.cpp
index
7de0e77
..
4da9539
100644
(file)
--- 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);
}
_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);
_notifier->setEnabled(true);
registerSignal(SIGINT);