RemoteLinux: Fix KillAppStep

Was taking .toString() instead of .path() of the executable FilePath.

Fixes: QTCREATORBUG-28124
Change-Id: I6286585393593cf97cbb2aeb5dbdd7c48bc95dbc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-09-01 08:07:47 +02:00
parent f866b03b19
commit e4bc08fb21

View File

@@ -133,7 +133,7 @@ KillAppStep::KillAppStep(BuildStepList *bsl, Id id)
Target * const theTarget = target();
QTC_ASSERT(theTarget, return CheckResult::failure());
RunConfiguration * const rc = theTarget->activeRunConfiguration();
const QString remoteExe = rc ? rc->runnable().command.executable().toString() : QString();
const QString remoteExe = rc ? rc->runnable().command.executable().path() : QString();
service->setRemoteExecutable(remoteExe);
return CheckResult::success();
});