From ca4ba34229c247027074c25abf51bf02ff15af96 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 6 Jun 2019 16:27:55 +0200 Subject: Use Utils::FilePath in SynchronousProcess Adapt callers and surrounding code. Change-Id: Ie6c1883a44169cf9d790d06b660f46d24dc24c89 Reviewed-by: Christian Stenger --- src/plugins/perforce/perforceplugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/perforce') diff --git a/src/plugins/perforce/perforceplugin.cpp b/src/plugins/perforce/perforceplugin.cpp index 580c52d78fb..5a3d4fed489 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; -- cgit v1.2.3