core: Don't store a reference in CoreCertManager
[quassel.git] / src / common / dccconfig.cpp
index ae9a0e0..800ae88 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2018 by the Quassel Project                        *
+ *   Copyright (C) 2005-2019 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -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);
 }