uisupport: Provide helpers for dealing with widget changes
[quassel.git] / src / common / posixsignalwatcher.cpp
index 0b67897..4da9539 100644 (file)
@@ -45,14 +45,14 @@ 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);
     registerSignal(SIGTERM);
     registerSignal(SIGHUP);
 
-#ifdef HAVE_EXECINFO
+#ifdef HAVE_BACKTRACE
     // we only handle crashes ourselves if coredumps are disabled
     struct rlimit *limit = (rlimit *)malloc(sizeof(struct rlimit));
     int rc = getrlimit(RLIMIT_CORE, limit);