diff options
author | Aurindam Jana <aurindam.jana@digia.com> | 2013-09-10 16:57:45 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 21:40:49 +0200 |
commit | 353a068c7716a34eb90d1441893f4c4a5b28f9de (patch) | |
tree | 1c7cbaa262b10ae5dc14d9e8ab3f7a4732217bb2 /src/qml/qml/qqmlengine.cpp | |
parent | 0b901ddda7936bb535125beaccc5fb9ee12617cb (diff) |
QmlDebugging: Replace QV8DebugService with QV4DebugService
Change-Id: Ic8c99e3984d9ef6d122f7d8834df97eeb1f1fda3
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r-- | src/qml/qml/qqmlengine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp index 81e20e269c..274952cb12 100644 --- a/src/qml/qml/qqmlengine.cpp +++ b/src/qml/qml/qqmlengine.cpp @@ -63,7 +63,7 @@ #include "qqmltypenamecache_p.h" #include "qqmlnotifier_p.h" #include <private/qqmlprofilerservice_p.h> -#include <private/qv8debugservice_p.h> +#include <private/qv4debugservice_p.h> #include <private/qdebugmessageservice_p.h> #include "qqmlincubator.h" #include "qqmlabstracturlinterceptor.h" @@ -794,7 +794,7 @@ void QQmlEnginePrivate::init() QQmlEngineDebugService::isDebuggingEnabled()) { isDebugging = true; QQmlEngineDebugService::instance()->addEngine(q); - QV8DebugService::addEngine(v8engine()); + QV4DebugService::addEngine(q); QV8ProfilerService::initialize(); QQmlProfilerService::initialize(); QDebugMessageService::instance(); @@ -883,7 +883,7 @@ QQmlEngine::~QQmlEngine() Q_D(QQmlEngine); if (d->isDebugging) { QQmlEngineDebugService::instance()->remEngine(this); - QV8DebugService::removeEngine(handle()); + QV4DebugService::removeEngine(this); } // Emit onDestruction signals for the root context before |