aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine.cpp
diff options
context:
space:
mode:
authorAurindam Jana <aurindam.jana@digia.com>2013-09-10 17:32:00 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-19 21:40:56 +0200
commitcaddd0ef4ad9039c60c62a5110dd4452cca132d5 (patch)
tree296c4751ba781af26dbe23aacb7ff3b2e200b587 /src/qml/qml/qqmlengine.cpp
parent353a068c7716a34eb90d1441893f4c4a5b28f9de (diff)
QmlDebugging: Process commands in v4DebugService
Change-Id: I6371db756f72ee373884268fc49a5b16cb66fd34 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r--src/qml/qml/qqmlengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index 274952cb12..33c9d87856 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -794,7 +794,7 @@ void QQmlEnginePrivate::init()
QQmlEngineDebugService::isDebuggingEnabled()) {
isDebugging = true;
QQmlEngineDebugService::instance()->addEngine(q);
- QV4DebugService::addEngine(q);
+ QV4DebugService::instance()->addEngine(q);
QV8ProfilerService::initialize();
QQmlProfilerService::initialize();
QDebugMessageService::instance();
@@ -883,7 +883,7 @@ QQmlEngine::~QQmlEngine()
Q_D(QQmlEngine);
if (d->isDebugging) {
QQmlEngineDebugService::instance()->remEngine(this);
- QV4DebugService::removeEngine(this);
+ QV4DebugService::instance()->removeEngine(this);
}
// Emit onDestruction signals for the root context before