modernize: Replace most remaining old-style connects by PMF ones
[quassel.git] / src / core / core.cpp
index 84ce979..556eec6 100644 (file)
@@ -273,7 +273,7 @@ void Core::shutdown()
     }
 
     for (auto &&session : _sessions) {
-        connect(session, SIGNAL(shutdownComplete(SessionThread*)), this, SLOT(onSessionShutdown(SessionThread*)));
+        connect(session, &SessionThread::shutdownComplete, this, &Core::onSessionShutdown);
         session->shutdown();
     }
 }