QmlEngine: Connect to done() signal instead of finished()

Change-Id: Iffccd6425ff5bf3b47064b6883ecab7474a987f7
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-06-22 06:53:24 +02:00
parent 418ce762df
commit fdf81b8768

View File

@@ -281,7 +281,7 @@ QmlEngine::QmlEngine()
showMessage(QString::fromUtf8(d->process.readAllStandardError()), AppOutput); showMessage(QString::fromUtf8(d->process.readAllStandardError()), AppOutput);
}); });
connect(&d->process, &QtcProcess::finished, this, &QmlEngine::disconnected); connect(&d->process, &QtcProcess::done, this, &QmlEngine::disconnected);
connect(&d->process, &QtcProcess::started, this, &QmlEngine::handleLauncherStarted); connect(&d->process, &QtcProcess::started, this, &QmlEngine::handleLauncherStarted);
debuggerConsole()->populateFileFinder(); debuggerConsole()->populateFileFinder();