diff options
author | hjk <hjk@qt.io> | 2021-08-02 18:02:10 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-08-06 12:51:24 +0000 |
commit | 4a42bcd4e8d2c73be426775597e8a58f5df6a3a8 (patch) | |
tree | 9def81512c2a914cdec059587dca6135c38e0e15 /src/plugins/boot2qt | |
parent | b8f369c436cddd0323ea752a6c1b623431cb5096 (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.cpp | 4 |
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())); |