X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.cpp;h=96b159b02e4b410f65b9e719697caec75dffe167;hp=248ccc9f45bf58fc05d81101aa6b9ab91fe13fa3;hb=ac21cc48d22f0cf58a98b74754fa94564a8e3f45;hpb=4493458caaa821deb69a0cddf13beb98394977bb diff --git a/src/common/syncableobject.cpp b/src/common/syncableobject.cpp index 248ccc9f..96b159b0 100644 --- a/src/common/syncableobject.cpp +++ b/src/common/syncableobject.cpp @@ -34,6 +34,14 @@ SyncableObject::SyncableObject(QObject *parent) { } +SyncableObject::SyncableObject(const QString &objectName, QObject *parent) + : QObject(parent), + _initialized(false), + _allowClientUpdates(false) +{ + setObjectName(objectName); +} + SyncableObject::SyncableObject(const SyncableObject &other, QObject *parent) : QObject(parent), _initialized(other._initialized),