summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2015-01-06 10:13:58 +0100
committerNiels Weber <niels.weber@theqtcompany.com>2015-01-06 10:34:35 +0100
commit3622cdecc2269b2ab8e4f21b6f2d8e28f3c53382 (patch)
treed01a0cbb59f37a5c79d206b1850fd9ae379675e1
parentac3f1d1e5af339046beb821f4261bb8ec02a2c8f (diff)
Fixed wrong placeholder in string.
Change-Id: Ifeca6563c9b1c82ab754fe87e8cacfae040cc070 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
-rw-r--r--src/libs/installer/remoteobject.h2
-rw-r--r--src/libs/installer/remoteserverconnection.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/installer/remoteobject.h b/src/libs/installer/remoteobject.h
index 2b6a3ab71..f47cd1367 100644
--- a/src/libs/installer/remoteobject.h
+++ b/src/libs/installer/remoteobject.h
@@ -97,7 +97,7 @@ public:
while (m_socket->bytesAvailable() < size) {
if (!m_socket->waitForReadyRead(30000)) {
throw Error(tr("Could not read all data after sending command: %1. "
- "Bytes expected: %2, Bytes received: %3. Error: %3").arg(name).arg(size)
+ "Bytes expected: %2, Bytes received: %3. Error: %4").arg(name).arg(size)
.arg(m_socket->bytesAvailable()).arg(m_socket->errorString()));
}
}
diff --git a/src/libs/installer/remoteserverconnection.cpp b/src/libs/installer/remoteserverconnection.cpp
index 0a142c4be..591ca621e 100644
--- a/src/libs/installer/remoteserverconnection.cpp
+++ b/src/libs/installer/remoteserverconnection.cpp
@@ -187,7 +187,7 @@ void RemoteServerConnection::handleQProcess(const QString &command, QDataStream
while (stream.device()->bytesAvailable() < size) {
if (!stream.device()->waitForReadyRead(30000)) {
throw Error(tr("Could not read all data after sending command: %1. "
- "Bytes expected: %2, Bytes received: %3. Error: %3").arg(command).arg(size)
+ "Bytes expected: %2, Bytes received: %3. Error: %4").arg(command).arg(size)
.arg(stream.device()->bytesAvailable()).arg(stream.device()->errorString()));
}
}
@@ -297,7 +297,7 @@ void RemoteServerConnection::handleQSettings(const QString &command, QDataStream
while (stream.device()->bytesAvailable() < size) {
if (!stream.device()->waitForReadyRead(30000)) {
throw Error(tr("Could not read all data after sending command: %1. "
- "Bytes expected: %2, Bytes received: %3. Error: %3").arg(command).arg(size)
+ "Bytes expected: %2, Bytes received: %3. Error: %4").arg(command).arg(size)
.arg(stream.device()->bytesAvailable()).arg(stream.device()->errorString()));
}
}
@@ -388,7 +388,7 @@ void RemoteServerConnection::handleQFSFileEngine(const QString &command, QDataSt
while (stream.device()->bytesAvailable() < size) {
if (!stream.device()->waitForReadyRead(30000)) {
throw Error(tr("Could not read all data after sending command: %1. "
- "Bytes expected: %2, Bytes received: %3. Error: %3").arg(command).arg(size)
+ "Bytes expected: %2, Bytes received: %3. Error: %4").arg(command).arg(size)
.arg(stream.device()->bytesAvailable()).arg(stream.device()->errorString()));
}
}