diff options
author | BogDan Vatra <bogdan.vatra.ford@kdab.com> | 2016-06-20 16:24:12 +0300 |
---|---|---|
committer | Brett Stottlemyer <bstottle@ford.com> | 2016-06-20 18:57:44 +0000 |
commit | a1135e86951c624175bf08a6714b3069ff6be714 (patch) | |
tree | f7af54f6807b85afc0584ab202f909d47545e379 /src/remoteobjects/qremoteobjectsourceio.cpp | |
parent | 1a025808cb2ef171fdd35e68da56c78577d5954d (diff) |
Send property information of the changed signals
The new property is sent just before the signal invoke package, there
fore we just need to pass the propertyIndex not to serialized it again.
Change-Id: Id82030968b0e18f9f95e281e4f3fda950852857b
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'src/remoteobjects/qremoteobjectsourceio.cpp')
-rw-r--r-- | src/remoteobjects/qremoteobjectsourceio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remoteobjects/qremoteobjectsourceio.cpp b/src/remoteobjects/qremoteobjectsourceio.cpp index 026978d..65a554e 100644 --- a/src/remoteobjects/qremoteobjectsourceio.cpp +++ b/src/remoteobjects/qremoteobjectsourceio.cpp @@ -195,8 +195,8 @@ void QRemoteObjectSourceIo::onServerRead(QObject *conn) } case InvokePacket: { - int call, index, serialId; - deserializeInvokePacket(connection->stream(), call, index, m_rxArgs, serialId); + int call, index, serialId, propertyId; + deserializeInvokePacket(connection->stream(), call, index, m_rxArgs, serialId, propertyId); if (m_rxName == QStringLiteral("Registry") && !m_registryMapping.contains(connection)) { const QRemoteObjectSourceLocation loc = m_rxArgs.first().value<QRemoteObjectSourceLocation>(); m_registryMapping[connection] = loc.second.hostUrl; |