From 9c5afd8e96306b36b02e6f225ea79abcf497f279 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 22 Oct 2018 15:31:46 +0200 Subject: [PATCH] Android/ProjectExplorer: Include parameters into quotes Change-Id: I7778d3749e29497365e1bce4f599cc31a161bb01 Reviewed-by: hjk --- src/plugins/android/androidbuildapkstep.cpp | 2 +- src/plugins/android/androiddeployqtstep.cpp | 2 +- src/plugins/projectexplorer/abstractprocessstep.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/android/androidbuildapkstep.cpp b/src/plugins/android/androidbuildapkstep.cpp index 20b8e73876a..ed137fd1a63 100644 --- a/src/plugins/android/androidbuildapkstep.cpp +++ b/src/plugins/android/androidbuildapkstep.cpp @@ -336,7 +336,7 @@ void AndroidBuildApkStep::run(QFutureInterface &fi) void AndroidBuildApkStep::processStarted() { - emit addOutput(tr("Starting: \"%1\" %2") + emit addOutput(tr("Starting: \"%1 %2\"") .arg(QDir::toNativeSeparators(m_command), m_argumentsPasswordConcealed), BuildStep::OutputFormat::NormalMessage); diff --git a/src/plugins/android/androiddeployqtstep.cpp b/src/plugins/android/androiddeployqtstep.cpp index d49971115ca..c88ebbaa985 100644 --- a/src/plugins/android/androiddeployqtstep.cpp +++ b/src/plugins/android/androiddeployqtstep.cpp @@ -295,7 +295,7 @@ AndroidDeployQtStep::DeployErrorCode AndroidDeployQtStep::runDeploy(QFutureInter m_process->start(); - emit addOutput(tr("Starting: \"%1\" %2") + emit addOutput(tr("Starting: \"%1 %2\"") .arg(QDir::toNativeSeparators(m_command), args), BuildStep::OutputFormat::NormalMessage); diff --git a/src/plugins/projectexplorer/abstractprocessstep.cpp b/src/plugins/projectexplorer/abstractprocessstep.cpp index 1e7f33bf658..d613136021d 100644 --- a/src/plugins/projectexplorer/abstractprocessstep.cpp +++ b/src/plugins/projectexplorer/abstractprocessstep.cpp @@ -245,7 +245,7 @@ void AbstractProcessStep::cleanUp(QProcess *process) void AbstractProcessStep::processStarted() { - emit addOutput(tr("Starting: \"%1\" %2") + emit addOutput(tr("Starting: \"%1 %2\"") .arg(QDir::toNativeSeparators(m_param.effectiveCommand()), m_param.prettyArguments()), BuildStep::OutputFormat::NormalMessage);