X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsyncableobject.cpp;h=e6d88a3ac25b38ff74ec4ed707970dd0266ed6aa;hp=325f0be32fdd6002dbc539afafd7b19c171da72b;hb=39eb2fda3eaef2de78a8134556015ff86e9b85d4;hpb=70283ef877bdf3339fb067667ad9130ceabd8b9a diff --git a/src/common/syncableobject.cpp b/src/common/syncableobject.cpp index 325f0be3..e6d88a3a 100644 --- a/src/common/syncableobject.cpp +++ b/src/common/syncableobject.cpp @@ -157,14 +157,15 @@ void SyncableObject::renameObject(const QString &newName) { void SyncableObject::update(const QVariantMap &properties) { fromVariantMap(properties); - emit updated(properties); + SYNC(ARG(properties)) + emit updated(); } void SyncableObject::requestUpdate(const QVariantMap &properties) { if(allowClientUpdates()) { update(properties); } - emit updateRequested(properties); + REQUEST(ARG(properties)) } void SyncableObject::sync_call__(SignalProxy::ProxyMode modeType, const char *funcname, ...) const {