forked from qt-creator/qt-creator
Debugger: State machine cosmetics
Remove one unused notification, rename notifyInferiorUnrunnable. Change-Id: I585d3a8606585fbdd8ad48e5eeecf629542bd93c Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -825,7 +825,7 @@ void DebuggerEnginePrivate::doRunEngine()
|
||||
m_engine->runEngine();
|
||||
}
|
||||
|
||||
void DebuggerEngine::notifyInferiorUnrunnable()
|
||||
void DebuggerEngine::notifyEngineRunOkAndInferiorUnrunnable()
|
||||
{
|
||||
showMessage(_("NOTE: INFERIOR UNRUNNABLE"));
|
||||
d->m_progress.setProgressValue(1000);
|
||||
@@ -904,16 +904,6 @@ void DebuggerEngine::notifyEngineRemoteSetupFinished(const RemoteSetupResult &re
|
||||
}
|
||||
}
|
||||
|
||||
void DebuggerEngine::notifyEngineRunOkAndInferiorRunRequested()
|
||||
{
|
||||
showMessage(_("NOTE: ENGINE RUN OK AND INFERIOR RUN REQUESTED"));
|
||||
d->m_progress.setProgressValue(1000);
|
||||
d->m_progress.reportFinished();
|
||||
QTC_ASSERT(state() == EngineRunRequested, qDebug() << this << state());
|
||||
showStatusMessage(tr("Running."));
|
||||
setState(InferiorRunRequested);
|
||||
}
|
||||
|
||||
void DebuggerEngine::notifyEngineRunAndInferiorRunOk()
|
||||
{
|
||||
showMessage(_("NOTE: ENGINE RUN AND INFERIOR RUN OK"));
|
||||
|
||||
Reference in New Issue
Block a user