forked from qt-creator/qt-creator
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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user