forked from qt-creator/qt-creator
@@ -103,7 +103,7 @@ public:
|
||||
const QVariant &argument = QVariant());
|
||||
|
||||
void messageReceived(const QByteArray &);
|
||||
void statusChanged(Status);
|
||||
void enabledChanged(bool);
|
||||
|
||||
public slots:
|
||||
// void pauses();
|
||||
|
||||
@@ -511,10 +511,10 @@ void JSDebuggerAgent::continueExec()
|
||||
loop.quit();
|
||||
}
|
||||
|
||||
void JSDebuggerAgent::statusChanged(Status status)
|
||||
void JSDebuggerAgent::enabledChanged(bool on)
|
||||
{
|
||||
engine()->setAgent(status == Enabled ? this : 0);
|
||||
QDeclarativeDebugService::statusChanged(status);
|
||||
engine()->setAgent(on ? this : 0);
|
||||
QDeclarativeDebugService::enabledChanged(on);
|
||||
}
|
||||
|
||||
} // namespace QmlJSDebugger
|
||||
|
||||
Reference in New Issue
Block a user