debugger: prepare removal of plugin()->updateState(this);

This commit is contained in:
hjk
2010-10-27 14:21:33 +02:00
parent fdc35465ed
commit ab967902d8
3 changed files with 20 additions and 8 deletions

View File

@@ -1487,11 +1487,17 @@ void DebuggerEngine::setState(DebuggerState state, bool forced)
threadsHandler()->notifyRunning();
showMessage(msg, LogDebug);
plugin()->updateState(this);
updateViews();
emit stateChanged(d->m_state);
}
void DebuggerEngine::updateViews()
{
// FIXME: This should not be done for slave engines.
plugin()->updateState(this);
}
void DebuggerEngine::setRunInWrapperEngine(bool value)
{
d->m_runInWrapperEngine = value;