forked from qt-creator/qt-creator
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:
@@ -133,7 +133,7 @@ KillAppStep::KillAppStep(BuildStepList *bsl, Id id)
|
|||||||
Target * const theTarget = target();
|
Target * const theTarget = target();
|
||||||
QTC_ASSERT(theTarget, return CheckResult::failure());
|
QTC_ASSERT(theTarget, return CheckResult::failure());
|
||||||
RunConfiguration * const rc = theTarget->activeRunConfiguration();
|
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);
|
service->setRemoteExecutable(remoteExe);
|
||||||
return CheckResult::success();
|
return CheckResult::success();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user