aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qdeclarativeengine.cpp')
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp
index 2b76f1f189..1794dbe45f 100644
--- a/src/declarative/qml/qdeclarativeengine.cpp
+++ b/src/declarative/qml/qdeclarativeengine.cpp
@@ -438,6 +438,7 @@ void QDeclarativeEnginePrivate::init()
QDeclarativeEngineDebugService::instance()->addEngine(q);
QV8DebugService::instance()->addEngine(q);
QV8ProfilerService::instance()->addEngine(q);
+ QDeclarativeDebugTrace::addEngine(q);
}
}
@@ -504,6 +505,7 @@ QDeclarativeEngine::~QDeclarativeEngine()
QDeclarativeEngineDebugService::instance()->remEngine(this);
QV8DebugService::instance()->removeEngine(this);
QV8ProfilerService::instance()->removeEngine(this);
+ QDeclarativeDebugTrace::removeEngine(this);
}
// if we are the parent of any of the qobject module api instances,