aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perforce
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-06-06 16:27:55 +0200
committerhjk <hjk@qt.io>2019-06-11 08:11:07 +0000
commitca4ba34229c247027074c25abf51bf02ff15af96 (patch)
treef5f93acda470948ec0f07b1dbfe5a58333bcb8bb /src/plugins/perforce
parent021d3a6c59264e4aac0284628b8d2daadbad4ed7 (diff)
Use Utils::FilePath in SynchronousProcess
Adapt callers and surrounding code. Change-Id: Ie6c1883a44169cf9d790d06b660f46d24dc24c89 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/perforce')
-rw-r--r--src/plugins/perforce/perforceplugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/perforce/perforceplugin.cpp b/src/plugins/perforce/perforceplugin.cpp
index 580c52d78f..5a3d4fed48 100644
--- a/src/plugins/perforce/perforceplugin.cpp
+++ b/src/plugins/perforce/perforceplugin.cpp
@@ -996,7 +996,8 @@ PerforceResponse PerforcePlugin::synchronousProcess(const QString &workingDir,
}
}
process.setTimeOutMessageBoxEnabled(true);
- const SynchronousProcessResponse sp_resp = process.run(settings().p4BinaryPath(), args);
+ const SynchronousProcessResponse sp_resp = process.run(
+ CommandLine{FilePath::fromString(settings().p4BinaryPath()), args});
PerforceResponse response;
response.error = true;