diff options
-rw-r--r-- | src/libs/installer/remoteobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/installer/remoteobject.h b/src/libs/installer/remoteobject.h index a09bede67..97d1f1435 100644 --- a/src/libs/installer/remoteobject.h +++ b/src/libs/installer/remoteobject.h @@ -91,6 +91,8 @@ public: T callRemoteMethod(const QString &name, const T1 &arg, const T2 &arg2, const T3 &arg3) const { writeData(name, arg, arg2, arg3); + while (m_socket->bytesToWrite()) + m_socket->waitForBytesWritten(); QByteArray command; QByteArray data; |