Return the write size

Amends 535d312e93

Change-Id: Icdc0eec0d017a65b64b6c20233c67caf2e81c16a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Jarek Kobus
2021-08-06 17:34:21 +02:00
parent 535d312e93
commit 81cbb0a33c

View File

@@ -343,6 +343,7 @@ qint64 LauncherHandle::write(const QByteArray &data)
WritePacket p(m_token);
p.inputData = data;
sendPacket(p);
return data.size();
}
// Ensure it's called from caller's thread, after moving LauncherHandle into the launcher's thread