forked from qt-creator/qt-creator
Debugger: Combine the InferiorShutdown{Ok,Failed} states
... into a InferiorShutdownFinished. Change-Id: Icb5394f38f52f7cf300dc83f4eb8f2f0777bbcba Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -587,14 +587,9 @@ void QmlCppEngine::slaveEngineStateChanged
|
||||
m_qmlEngine->quitDebugger();
|
||||
break;
|
||||
}
|
||||
case InferiorShutdownFailed: {
|
||||
CHECK_STATE(InferiorShutdownRequested);
|
||||
notifyInferiorShutdownFailed();
|
||||
break;
|
||||
}
|
||||
case InferiorShutdownOk: {
|
||||
case InferiorShutdownFinished: {
|
||||
if (state() == InferiorShutdownRequested) {
|
||||
notifyInferiorShutdownOk();
|
||||
notifyInferiorShutdownFinished();
|
||||
} else {
|
||||
// we got InferiorExitOk before, but ignored it ...
|
||||
notifyInferiorExited();
|
||||
|
||||
Reference in New Issue
Block a user