X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.cpp;h=22ebec284f22f917ca89886fe75e4595352b1b18;hp=695ab913a74bec6c8b87d03d5be72b9e419d731c;hb=HEAD;hpb=b8ce41ef6c0036d854f5bef0fb52e2a69dc5def2 diff --git a/src/common/syncableobject.cpp b/src/common/syncableobject.cpp index 695ab913..d23bfba8 100644 --- a/src/common/syncableobject.cpp +++ b/src/common/syncableobject.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2022 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;