X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.cpp;h=825b97db32d62a2a787fe1a6e7b533f8581c5969;hp=22ebec284f22f917ca89886fe75e4595352b1b18;hb=673ded0d543cbdc2cf6e746b6bee7c1d21af8f90;hpb=d48c2331b38ae46732ac1ab9f35a3a0b85100f92 diff --git a/src/common/syncableobject.cpp b/src/common/syncableobject.cpp index 22ebec28..825b97db 100644 --- a/src/common/syncableobject.cpp +++ b/src/common/syncableobject.cpp @@ -44,13 +44,6 @@ SyncableObject::SyncableObject(const QString& objectName, QObject* parent) }); } -SyncableObject::SyncableObject(const SyncableObject& other, QObject* parent) - : SyncableObject(QString{}, parent) -{ - _initialized = other._initialized; - _allowClientUpdates = other._allowClientUpdates; -} - SyncableObject::~SyncableObject() { QList::iterator proxyIter = _signalProxies.begin(); @@ -61,16 +54,6 @@ SyncableObject::~SyncableObject() } } -SyncableObject& SyncableObject::operator=(const SyncableObject& other) -{ - if (this == &other) - return *this; - - _initialized = other._initialized; - _allowClientUpdates = other._allowClientUpdates; - return *this; -} - bool SyncableObject::isInitialized() const { return _initialized;