X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fdccconfig.cpp;h=2a5adf34bacb0fdb5d59725f4fbf01facb03ccd7;hb=33a1a6f1bf47db069acae3eaa88a1aa156342002;hp=800ae885f887878b35f1590ac1246d18d4f176da;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003;p=quassel.git diff --git a/src/common/dccconfig.cpp b/src/common/dccconfig.cpp index 800ae885..2a5adf34 100644 --- a/src/common/dccconfig.cpp +++ b/src/common/dccconfig.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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())