clazy: Convert many old-style connects into function pointer based
[quassel.git] / src / client / clientidentity.cpp
index dc6ebe5..8e56168 100644 (file)
@@ -55,8 +55,8 @@ void CertIdentity::enableEditSsl(bool enable)
     _certManager = new ClientCertManager(id(), this);
     if (isValid()) { // this means we are not a newly created Identity but have a proper Id
         Client::signalProxy()->synchronize(_certManager);
-        connect(_certManager, SIGNAL(updated()), this, SLOT(markClean()));
-        connect(_certManager, SIGNAL(initDone()), this, SLOT(markClean()));
+        connect(_certManager, &SyncableObject::updated, this, &CertIdentity::markClean);
+        connect(_certManager, &SyncableObject::initDone, this, &CertIdentity::markClean);
     }
 }