Commit 38e61ea5 authored by Tim Jenssen's avatar Tim Jenssen
Browse files

QmlDesigner: even read methods need a lock

Change-Id: I7381d4c236be59ddd2015b83e9d5eb90e2cb2006
Reviewed-by: default avatarMarco Bubke <>
parent 9898ac50
......@@ -112,7 +112,9 @@ QDataStream &operator<<(QDataStream &out, const ValuesChangedCommand &command)
QSharedMemory *sharedMemory = createSharedMemory(keyCounter, outDataStreamByteArray.size());
if (sharedMemory) {
std::memcpy(sharedMemory->data(), outDataStreamByteArray.constData(), sharedMemory->size());
out << command.keyNumber();
return out;
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