forked from qt-creator/qt-creator
ApplicationLauncher: Remove start(IDevice *) overload
Take the device from runnable passed in setRunnable().
If the intention is to run locally, set the device
to nullptr inside runnable. Otherwise we don't run locally.
Follows 47957de2dc
Change-Id: I5b381bb499cf76e469c844ac7474ce2f60761cef
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -504,7 +504,8 @@ void QmlEngine::closeConnection()
|
||||
void QmlEngine::startApplicationLauncher()
|
||||
{
|
||||
if (!d->applicationLauncher.isRunning()) {
|
||||
const Runnable runnable = runParameters().inferior;
|
||||
Runnable runnable = runParameters().inferior;
|
||||
runnable.device.reset();
|
||||
showMessage(tr("Starting %1").arg(runnable.command.toUserOutput()),
|
||||
NormalMessageFormat);
|
||||
d->applicationLauncher.setRunnable(runnable);
|
||||
|
||||
Reference in New Issue
Block a user