summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeenginedebug.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-08-20 15:36:49 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-08-20 16:03:55 (GMT)
commit2c39814588782f9b30f5205258f72fe5c1dea358 (patch)
tree62b537d8de227019c330534608a082ac50eba7d3 /src/declarative/qml/qdeclarativeenginedebug.cpp
parentc6b9ed9c2c0a8617e1d076fcad8f72e60156f455 (diff)
downloadQt-2c39814588782f9b30f5205258f72fe5c1dea358.zip
Qt-2c39814588782f9b30f5205258f72fe5c1dea358.tar.gz
Qt-2c39814588782f9b30f5205258f72fe5c1dea358.tar.bz2
QDeclarativeDebug: stream all the context, including the internals ones.
Some public context are within the internal context, so we need to stream them to get every objects Reviewed-by: Lasse Holmstedt
Diffstat (limited to 'src/declarative/qml/qdeclarativeenginedebug.cpp')
-rw-r--r--src/declarative/qml/qdeclarativeenginedebug.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/declarative/qml/qdeclarativeenginedebug.cpp b/src/declarative/qml/qdeclarativeenginedebug.cpp
index ed98e3c..688e0fc 100644
--- a/src/declarative/qml/qdeclarativeenginedebug.cpp
+++ b/src/declarative/qml/qdeclarativeenginedebug.cpp
@@ -264,8 +264,7 @@ void QDeclarativeEngineDebugServer::buildObjectList(QDataStream &message, QDecla
QDeclarativeContextData *child = p->childContexts;
while (child) {
- if (!child->isInternal)
- ++count;
+ ++count;
child = child->nextChild;
}
@@ -273,8 +272,7 @@ void QDeclarativeEngineDebugServer::buildObjectList(QDataStream &message, QDecla
child = p->childContexts;
while (child) {
- if (!child->isInternal)
- buildObjectList(message, child->asQDeclarativeContext());
+ buildObjectList(message, child->asQDeclarativeContext());
child = child->nextChild;
}