X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.cpp;h=248ccc9f45bf58fc05d81101aa6b9ab91fe13fa3;hp=ebe6ca0e17e713e0d49cabc6a44ffcb6d02d73cb;hb=114f8a14b8bc82669ffda0599ce30fc299be9396;hpb=f7eb3911860f30e6bccce3c77d03fc25e87d7f93 diff --git a/src/common/syncableobject.cpp b/src/common/syncableobject.cpp index ebe6ca0e..248ccc9f 100644 --- a/src/common/syncableobject.cpp +++ b/src/common/syncableobject.cpp @@ -44,7 +44,7 @@ SyncableObject::SyncableObject(const SyncableObject &other, QObject *parent) SyncableObject &SyncableObject::operator=(const SyncableObject &other) { if(this == &other) return *this; - + _initialized = other._initialized; _allowClientUpdates = other._allowClientUpdates; return *this; @@ -110,7 +110,7 @@ void SyncableObject::fromVariantMap(const QVariantMap &properties) { iterator++; continue; } - + int propertyIndex = meta->indexOfProperty(propName.toAscii()); if(propertyIndex == -1 || !meta->property(propertyIndex).isWritable())