summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-02-20 16:28:41 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-02-23 09:58:31 +0000
commit25a14aa2e28fb60084eec51d56c3b6a48c4b3bca (patch)
tree4d4c52dfbb9bd1883fbb1b694f3b1fa7d72a57e9 /src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp
parent48cb9f124da92371b7e13caad78621a7c851b8e9 (diff)
downloadqt-creator-25a14aa2e28fb60084eec51d56c3b6a48c4b3bca.tar.gz
RemoteLinux: Use QtcProcess::join() to display argument list.
Otherwise, we lose quotes on a round-trip. Task-number: QTCREATORBUG-14002 Change-Id: If7ecd17dfcb310aa10d9f83ddbd215c5b7136546 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp')
-rw-r--r--src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp b/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp
index a6f4fea7da..f364f133e8 100644
--- a/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp
+++ b/src/plugins/remotelinux/remotelinuxrunconfigurationwidget.cpp
@@ -33,6 +33,7 @@
#include <coreplugin/coreconstants.h>
#include <utils/detailswidget.h>
+#include <utils/qtcprocess.h>
#include <QCoreApplication>
#include <QDir>
@@ -150,7 +151,8 @@ void RemoteLinuxRunConfigurationWidget::addGenericWidgets(QVBoxLayout *mainLayou
altRemoteExeLayout->addWidget(&d->useAlternateCommandBox);
d->genericWidgetsLayout.addRow(tr("Alternate executable on device:"), altRemoteExeWidget);
- d->argsLineEdit.setText(d->runConfiguration->arguments().join(QLatin1Char(' ')));
+ d->argsLineEdit.setText(Utils::QtcProcess::joinArgs(d->runConfiguration->arguments(),
+ Utils::OsTypeLinux));
d->genericWidgetsLayout.addRow(tr("Arguments:"), &d->argsLineEdit);
d->workingDirLineEdit.setPlaceholderText(tr("<default>"));