X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fidentity.cpp;h=dcec2d92f47f0b1a9778084501a60281e303dbd7;hp=7d19204efc1c152e68f94aea8663dba85627bf96;hb=1eb21546673535f5707aa6346e8c749b928cd772;hpb=cedc301cd2f6dc644ddbf9fc9ae4fe605be2e9da diff --git a/src/common/identity.cpp b/src/common/identity.cpp index 7d19204e..dcec2d92 100644 --- a/src/common/identity.cpp +++ b/src/common/identity.cpp @@ -55,6 +55,7 @@ Identity::Identity(const Identity &other, QObject *parent) : SyncableObject(pare void Identity::init() { setObjectName(QString::number(id().toInt())); + setAllowClientUpdates(true); } void Identity::setToDefaults() { @@ -269,7 +270,7 @@ for(int idx = metaObject()->propertyOffset(); idx < metaObject()->propertyCount( } } } -#include + bool Identity::operator==(const Identity &other) { for(int idx = metaObject()->propertyOffset(); idx < metaObject()->propertyCount(); idx++) { QMetaProperty metaProp = metaObject()->property(idx);