summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/remoteobject.h
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2017-01-03 12:30:16 +0200
committerKatja Marttila <katja.marttila@theqtcompany.com>2017-01-03 12:36:27 +0200
commitb4144d80976c1af3c68b8f78dec635146f3c6981 (patch)
tree8d517e2ec21b2a5ab8ff182773c16f33a83f206e /src/libs/installer/remoteobject.h
parent6543837af1ffb209859b4ebab85e31b17ad18df7 (diff)
parent52a1a20ccd283abcce0c1e78838e3ce2dddb4de6 (diff)
Merge remote-tracking branch 'origin/2.0'
Conflicts: doc/installerfw.qdoc Change-Id: I3d991775eae96c7de689e4b92393065564940a5f
Diffstat (limited to 'src/libs/installer/remoteobject.h')
-rw-r--r--src/libs/installer/remoteobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/installer/remoteobject.h b/src/libs/installer/remoteobject.h
index 72c20eaa4..deac75776 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;