QmlJSDebugger: Update API to changes in QDeclarativeEngine

Reviewed-by: Christiaan Janssen
This commit is contained in:
Kai Koehne
2010-09-27 10:25:01 +02:00
parent 141ca58827
commit f343cc4bd4
4 changed files with 6 additions and 5 deletions

View File

@@ -511,9 +511,10 @@ void JSDebuggerAgent::continueExec()
loop.quit();
}
void JSDebuggerAgent::enabledChanged(bool on)
void JSDebuggerAgent::statusChanged(Status status)
{
engine()->setAgent(on ? this : 0);
engine()->setAgent((status == QDeclarativeDebugService::Enabled) ? this : 0);
}
} // namespace QmlJSDebugger