forked from qt-creator/qt-creator
ProjectExplorer: Split ApplicationLauncher::start() parameters
There's traditionally an odd duplication of the runnable.device and the passed device here. Start disentangling things. Change-Id: I1cc1628c99cea04d761fc4d8dd0cb232127ce055 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -507,7 +507,8 @@ void QmlEngine::startApplicationLauncher()
|
||||
const Runnable runnable = runParameters().inferior;
|
||||
showMessage(tr("Starting %1").arg(runnable.command.toUserOutput()),
|
||||
NormalMessageFormat);
|
||||
d->applicationLauncher.start(runnable);
|
||||
d->applicationLauncher.setRunnable(runnable);
|
||||
d->applicationLauncher.start();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user