diff options
author | hjk <hjk@qt.io> | 2022-02-15 14:43:18 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-02-15 15:07:52 +0000 |
commit | 6942c58d65543002f97f1398e0cece76f3db8789 (patch) | |
tree | a095a322a98bc7cd22f511ee1d500336e4937c9f /src/plugins/debugger/qml/qmlengine.cpp | |
parent | ccb42b3c74cbf96fc9d6523c7ebb9f60c0b990d6 (diff) | |
download | qt-creator-6942c58d65543002f97f1398e0cece76f3db8789.tar.gz |
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>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index 9952b37ad0..35217779b3 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -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(); } |