Debugger: Fix some state transition warnings

Effective functionality is unchanged, this only avoids warnings
about InferiorSetupRequested -> InferiorSetupRequested transitions
in the slave engine.

Change-Id: I727a271e105df69d18232854a7828960f40c0574
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-11-07 16:51:19 +01:00
parent 14abd38fde
commit 3888e9c817

View File

@@ -668,11 +668,13 @@ void DebuggerEngine::notifyEngineSetupOk()
if (isMasterEngine() && runTool())
runTool()->reportStarted();
setState(InferiorSetupRequested);
showMessage("CALL: SETUP INFERIOR");
d->m_progress.setProgressValue(250);
if (isMasterEngine())
if (isMasterEngine()) {
// Slaves will get called setupSlaveInferior() below.
setState(InferiorSetupRequested);
setupInferior();
}
}
void DebuggerEngine::setupSlaveInferior()