forked from qt-creator/qt-creator
Debugger: Combine the EngineShutdown{Ok,Failed} states
... into a EngineShutdownFinished. They were never handled differently, and the only option is to proceed to DebuggerFinished anyway. So simplify the state machine a bit. Change-Id: Ied3be86fff6750abca578dc6788e4be1d895692b Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -606,14 +606,9 @@ void QmlCppEngine::slaveEngineStateChanged
|
||||
CHECK_STATE(EngineShutdownRequested);
|
||||
break;
|
||||
}
|
||||
case EngineShutdownFailed: {
|
||||
case EngineShutdownFinished: {
|
||||
CHECK_STATE(EngineShutdownRequested);
|
||||
notifyEngineShutdownFailed();
|
||||
break;
|
||||
}
|
||||
case EngineShutdownOk: {
|
||||
CHECK_STATE(EngineShutdownRequested);
|
||||
notifyEngineShutdownOk();
|
||||
notifyEngineShutdownFinished();
|
||||
break;
|
||||
}
|
||||
case DebuggerFinished: {
|
||||
|
||||
Reference in New Issue
Block a user