From 4a42bcd4e8d2c73be426775597e8a58f5df6a3a8 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 2 Aug 2021 18:02:10 +0200 Subject: Utils/ProjectExplorer: Use FilePath for Runnable::workingDirectory ... and in some using code. Change-Id: I231ea56628908f7d305d13f07eabe8803fe8a791 Reviewed-by: Christian Stenger --- src/plugins/qnx/qnxdeviceprocess.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/qnx/qnxdeviceprocess.cpp') 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) { -- cgit v1.2.1