From: Manuel Nickschas Date: Sun, 17 Aug 2008 20:06:24 +0000 (+0200) Subject: Whitespace X-Git-Tag: 0.3.0~33 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=1b680d1e84bff6c2e6f64dfbda72cb91efa48125;hp=cedc301cd2f6dc644ddbf9fc9ae4fe605be2e9da Whitespace --- 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()) diff --git a/src/common/syncableobject.h b/src/common/syncableobject.h index c746d838..482470a5 100644 --- a/src/common/syncableobject.h +++ b/src/common/syncableobject.h @@ -45,7 +45,7 @@ public: * \return The object's state in a QVariantMap */ virtual QVariantMap toVariantMap(); - + //! Initialize the object's state from a given QVariantMap. /** \see toVariantMap() for important information concerning this method. */ @@ -76,7 +76,7 @@ signals: private: bool setInitValue(const QString &property, const QVariant &value); - + bool _initialized; bool _allowClientUpdates;