X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fdccconfig.cpp;h=93f6e9f920ae2fd228aab34b8ab03fdd9f5bb62e;hp=800ae885f887878b35f1590ac1246d18d4f176da;hb=cc21148ce02b9dd111e9821411846541187297bb;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003 diff --git a/src/common/dccconfig.cpp b/src/common/dccconfig.cpp index 800ae885..93f6e9f9 100644 --- a/src/common/dccconfig.cpp +++ b/src/common/dccconfig.cpp @@ -37,22 +37,6 @@ DccConfig::DccConfig(QObject* parent) setAllowClientUpdates(true); } -DccConfig& DccConfig::operator=(const DccConfig& other) -{ - if (this == &other) - return *this; - - SyncableObject::operator=(other); - - static auto propCount = staticMetaObject.propertyCount(); - for (int i = 0; i < propCount; ++i) { - auto propName = staticMetaObject.property(i).name(); - setProperty(propName, other.property(propName)); - } - - return *this; -} - bool DccConfig::operator==(const DccConfig& other) { // NOTE: We don't compare the SyncableObject attributes (isInitialized, clientUpdatesAllowed())