This commit is contained in:
Aaron Kennedy
2010-09-29 14:48:41 +10:00
parent 5c6cfdf848
commit a9820d4fca
2 changed files with 4 additions and 4 deletions

View File

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