summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects
diff options
context:
space:
mode:
authorMarc Hüskens <marc.hueskens@aucos.de>2024-02-07 13:31:04 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-03-13 18:41:42 +0000
commitfe6e1e86f64d7054da76449a4e3e03a1bb84a47d (patch)
tree488fe6f750a21a8739e9ce0f87a4fc2f6676d75e /src/remoteobjects
parentdab5124e6036ddd16aee079e961944861e49898a (diff)
Fix slot return values of container<pod>6.6
Added missing call to decodeVariant before informing replicas Pick-to: 6.5 6.2 Change-Id: Ibb83f02fc901390c4ec92de836d9663315ab112c Reviewed-by: Brett Stottlemyer <bstottle@ford.com> (cherry picked from commit 73ee1f826195d80384c1fd1eefd7bbc176542b2d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit a7bd0a523a793a54600b1f3a492346cc7972454e)
Diffstat (limited to 'src/remoteobjects')
-rw-r--r--src/remoteobjects/qremoteobjectnode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remoteobjects/qremoteobjectnode.cpp b/src/remoteobjects/qremoteobjectnode.cpp
index e898a7b..57d374c 100644
--- a/src/remoteobjects/qremoteobjectnode.cpp
+++ b/src/remoteobjects/qremoteobjectnode.cpp
@@ -1554,6 +1554,7 @@ void QRemoteObjectNodePrivate::onClientRead(QObject *obj)
QSharedPointer<QRemoteObjectReplicaImplementation> rep = qSharedPointerCast<QRemoteObjectReplicaImplementation>(replicas.value(rxName).toStrongRef());
if (rep) {
qROPrivDebug() << "Received InvokeReplyPacket ack'ing serial id:" << ackedSerialId;
+ rxValue = decodeVariant(std::move(rxValue), {});
rep->notifyAboutReply(ackedSerialId, rxValue);
} else { //replica has been deleted, remove from list
replicas.remove(rxName);