Commit 1bfd2a0c authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.qmlPuppet: set QDataStream version

We already did some refactoring on this part in master.

Change-Id: Ia878afa3aa773d2496343e052ababf30da9351d7
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent da7c6fb8
......@@ -92,6 +92,8 @@ void NodeInstanceClientProxy::writeCommand(const QVariant &command)
{
QByteArray block;
QDataStream out(&block, QIODevice::WriteOnly);
out.setVersion(QDataStream::Qt_4_8);
out << quint32(0);
out << quint32(m_writeCommandCounter);
m_writeCommandCounter++;
......@@ -163,6 +165,7 @@ void NodeInstanceClientProxy::readDataStream()
break;
QDataStream in(m_socket);
in.setVersion(QDataStream::Qt_4_8);
if (m_blockSize == 0) {
in >> m_blockSize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment