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