summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qremoteobjectpacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/remoteobjects/qremoteobjectpacket.cpp')
-rw-r--r--src/remoteobjects/qremoteobjectpacket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remoteobjects/qremoteobjectpacket.cpp b/src/remoteobjects/qremoteobjectpacket.cpp
index 4e4b4cd..cf59dc8 100644
--- a/src/remoteobjects/qremoteobjectpacket.cpp
+++ b/src/remoteobjects/qremoteobjectpacket.cpp
@@ -272,13 +272,13 @@ void serializeRemoveObjectPacket(DataStreamPacket &ds, const QString &name)
}
//There is no deserializeRemoveObjectPacket - no parameters other than id and name
-void serializeInvokePacket(DataStreamPacket &ds, const QString &name, int call, int index, const QVariantList *args, int serialId)
+void serializeInvokePacket(DataStreamPacket &ds, const QString &name, int call, int index, const QVariantList &args, int serialId)
{
ds.setId(InvokePacket);
ds << name;
ds << call;
ds << index;
- ds << *args;
+ ds << args;
ds << serialId;
ds.finishPacket();
}