summaryrefslogtreecommitdiff
path: root/src/plugins/qnx/qnxdeviceprocess.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2021-08-02 18:02:10 +0200
committerhjk <hjk@qt.io>2021-08-06 12:51:24 +0000
commit4a42bcd4e8d2c73be426775597e8a58f5df6a3a8 (patch)
tree9def81512c2a914cdec059587dca6135c38e0e15 /src/plugins/qnx/qnxdeviceprocess.cpp
parentb8f369c436cddd0323ea752a6c1b623431cb5096 (diff)
downloadqt-creator-4a42bcd4e8d2c73be426775597e8a58f5df6a3a8.tar.gz
Utils/ProjectExplorer: Use FilePath for Runnable::workingDirectory
... and in some using code. Change-Id: I231ea56628908f7d305d13f07eabe8803fe8a791 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/qnx/qnxdeviceprocess.cpp')
-rw-r--r--src/plugins/qnx/qnxdeviceprocess.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qnx/qnxdeviceprocess.cpp b/src/plugins/qnx/qnxdeviceprocess.cpp
index 42dd90cd7e..14d800e94c 100644
--- a/src/plugins/qnx/qnxdeviceprocess.cpp
+++ b/src/plugins/qnx/qnxdeviceprocess.cpp
@@ -55,7 +55,8 @@ QString QnxDeviceProcess::fullCommandLine(const Runnable &runnable) const
"test -f $HOME/profile && . $HOME/profile ; ";
if (!runnable.workingDirectory.isEmpty())
- fullCommandLine += QString::fromLatin1("cd %1 ; ").arg(ProcessArgs::quoteArg(runnable.workingDirectory));
+ fullCommandLine += QString::fromLatin1("cd %1 ; ").arg(
+ ProcessArgs::quoteArg(runnable.workingDirectory.toString()));
const Environment env = runnable.environment;
for (auto it = env.constBegin(); it != env.constEnd(); ++it) {