summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/installer/remoteobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/remoteobject.h b/src/libs/installer/remoteobject.h
index 979d8fafd..f0f8da5fe 100644
--- a/src/libs/installer/remoteobject.h
+++ b/src/libs/installer/remoteobject.h
@@ -96,7 +96,7 @@ public:
QByteArray command;
QByteArray data;
while (!receivePacket(m_socket, &command, &data)) {
- if (!m_socket->waitForReadyRead(30000)) {
+ if (!m_socket->waitForReadyRead(-1)) {
throw Error(tr("Could not read all data after sending command: %1. "
"Bytes expected: %2, Bytes received: %3. Error: %4").arg(name).arg(0)
.arg(m_socket->bytesAvailable()).arg(m_socket->errorString()));