X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.cpp;h=825b97db32d62a2a787fe1a6e7b533f8581c5969;hb=e14649614fbbf9b386505a5d782b88b1ac313c1f;hp=d2cc9663631433c86f2be35c16e09b247ef6e39d;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003;p=quassel.git diff --git a/src/common/syncableobject.cpp b/src/common/syncableobject.cpp index d2cc9663..825b97db 100644 --- a/src/common/syncableobject.cpp +++ b/src/common/syncableobject.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 * @@ -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;