aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggeritemmanager.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2019-06-06 16:27:55 +0200
committerhjk <[email protected]>2019-06-11 08:11:07 +0000
commitca4ba34229c247027074c25abf51bf02ff15af96 (patch)
treef5f93acda470948ec0f07b1dbfe5a58333bcb8bb /src/plugins/debugger/debuggeritemmanager.cpp
parent021d3a6c59264e4aac0284628b8d2daadbad4ed7 (diff)
Use Utils::FilePath in SynchronousProcess
Adapt callers and surrounding code. Change-Id: Ie6c1883a44169cf9d790d06b660f46d24dc24c89 Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggeritemmanager.cpp')
-rw-r--r--src/plugins/debugger/debuggeritemmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggeritemmanager.cpp b/src/plugins/debugger/debuggeritemmanager.cpp
index 6d1e14cff85..4020995ce2b 100644
--- a/src/plugins/debugger/debuggeritemmanager.cpp
+++ b/src/plugins/debugger/debuggeritemmanager.cpp
@@ -727,7 +727,7 @@ void DebuggerItemManagerPrivate::autoDetectGdbOrLldbDebuggers()
SynchronousProcess lldbInfo;
lldbInfo.setTimeoutS(2);
SynchronousProcessResponse response
- = lldbInfo.runBlocking("xcrun", {"--find", "lldb"});
+ = lldbInfo.runBlocking(CommandLine(FilePath::fromString("xcrun"), {"--find", "lldb"}));
if (response.result == Utils::SynchronousProcessResponse::Finished) {
QString lPath = response.allOutput().trimmed();
if (!lPath.isEmpty()) {