aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/boot2qt
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/boot2qt
parentb8f369c436cddd0323ea752a6c1b623431cb5096 (diff)
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/boot2qt')
-rw-r--r--src/plugins/boot2qt/qdbstopapplicationservice.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/boot2qt/qdbstopapplicationservice.cpp b/src/plugins/boot2qt/qdbstopapplicationservice.cpp
index e0a683cc61..d300ef08ad 100644
--- a/src/plugins/boot2qt/qdbstopapplicationservice.cpp
+++ b/src/plugins/boot2qt/qdbstopapplicationservice.cpp
@@ -32,6 +32,8 @@
#include <projectexplorer/runcontrol.h>
#include <projectexplorer/target.h>
+using namespace Utils;
+
namespace Qdb {
namespace Internal {
@@ -102,7 +104,7 @@ void QdbStopApplicationService::doDeploy()
ProjectExplorer::Runnable runnable;
runnable.executable = Utils::FilePath::fromString(Constants::AppcontrollerFilepath);
runnable.commandLineArguments = QStringLiteral("--stop");
- runnable.workingDirectory = QStringLiteral("/usr/bin");
+ runnable.workingDirectory = FilePath::fromString("/usr/bin");
d->applicationLauncher.start(runnable,
ProjectExplorer::DeviceKitAspect::device(target()->kit()));