modernize: Replace most remaining old-style connects by PMF ones
[quassel.git] / src / client / clientbufferviewconfig.cpp
index 398e2c6..7d5362e 100644 (file)
 
 #include "clientbufferviewconfig.h"
 
-INIT_SYNCABLE_OBJECT(ClientBufferViewConfig)
 ClientBufferViewConfig::ClientBufferViewConfig(int bufferViewId, QObject *parent)
     : BufferViewConfig(bufferViewId, parent),
     _locked(false)
 {
-    connect(this, SIGNAL(initDone()), this, SLOT(ensureDecoration()));
+    connect(this, &SyncableObject::initDone, this, &ClientBufferViewConfig::ensureDecoration);
 }