sigproxy: Actually rename SyncableObjects when requested
[quassel.git] / src / common / dccconfig.cpp
index ae9a0e0..811db52 100644 (file)
@@ -25,7 +25,7 @@
 #include "types.h"
 
 DccConfig::DccConfig(QObject* parent)
-    : SyncableObject(parent)
+    : SyncableObject("DccConfig", parent)
 {
     static auto regTypes = []() -> bool {
         qRegisterMetaTypeStreamOperators<IpDetectionMode>("DccConfig::IpDetectionMode");
@@ -34,7 +34,6 @@ DccConfig::DccConfig(QObject* parent)
     }();
     Q_UNUSED(regTypes);
 
-    renameObject("DccConfig");
     setAllowClientUpdates(true);
 }