forked from qt-creator/qt-creator
ProjectExplorer: Use simpler signature for ApplicationLauncher::processExited()
And rename it to finished(). Maps better to what QtcProcess uses. Change-Id: Ibfa018549f436b27638a791c0b4937c4459c9452 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -269,7 +269,7 @@ QmlEngine::QmlEngine()
|
||||
connect(stackHandler(), &StackHandler::currentIndexChanged,
|
||||
this, &QmlEngine::updateCurrentContext);
|
||||
|
||||
connect(&d->applicationLauncher, &ApplicationLauncher::processExited,
|
||||
connect(&d->applicationLauncher, &ApplicationLauncher::finished,
|
||||
this, &QmlEngine::disconnected);
|
||||
connect(&d->applicationLauncher, &ApplicationLauncher::appendMessage,
|
||||
this, &QmlEngine::appMessage);
|
||||
@@ -515,7 +515,7 @@ void QmlEngine::startApplicationLauncher()
|
||||
void QmlEngine::stopApplicationLauncher()
|
||||
{
|
||||
if (d->applicationLauncher.isRunning()) {
|
||||
disconnect(&d->applicationLauncher, &ApplicationLauncher::processExited,
|
||||
disconnect(&d->applicationLauncher, &ApplicationLauncher::finished,
|
||||
this, &QmlEngine::disconnected);
|
||||
d->applicationLauncher.stop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user