summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp')
-rw-r--r--src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp b/src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp
index 134c61b93b..34c160c386 100644
--- a/src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp
+++ b/src/plugins/projectexplorer/devicesupport/deviceusedportsgatherer.cpp
@@ -170,7 +170,8 @@ void DeviceUsedPortsGatherer::handleProcessClosed(int exitStatus)
if (!errMsg.isEmpty()) {
if (!d->remoteStderr.isEmpty()) {
- errMsg += tr("\nRemote error output was: %1")
+ errMsg += QLatin1Char('\n');
+ errMsg += tr("Remote error output was: %1")
.arg(QString::fromUtf8(d->remoteStderr));
}
emit error(errMsg);