Minor fix

This commit is contained in:
Nodir Temirkhodjaev 2018-08-30 16:12:00 +05:00
parent 5b91b571be
commit 54cb53122a

View File

@ -71,7 +71,7 @@ bool ControlWorker::writeData(const QByteArray &data)
*p++ = dataSize;
if (dataSize != 0) {
memcpy(p, data.constData(), data.size());
memcpy(p, data.constData(), dataSize);
}
return true;