X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.cpp;h=825b97db32d62a2a787fe1a6e7b533f8581c5969;hb=8dfdd498679c773cf2e7958c5fd434bf56f634e3;hp=22ebec284f22f917ca89886fe75e4595352b1b18;hpb=a95ad2de573027f9bee36db972bcae4195168d0c;p=quassel.git 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;