summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristiaan Janssen <christiaan.janssen@nokia.com>2010-09-21 17:15:02 +0200
committerChristiaan Janssen <christiaan.janssen@nokia.com>2010-09-21 17:16:04 +0200
commitef8d8e65dafc9cc5889d8c3e060381254e44aab5 (patch)
tree1e71605a663779854a8f18c5d64bfb47fec3bef8 /src
parent727c16a690c4278ce713bef8246652c178bba3f6 (diff)
downloadqt-creator-ef8d8e65dafc9cc5889d8c3e060381254e44aab5.tar.gz
QmlInspector: dumping object properties when fetching tree
Reviewed by: Kai Koehne
Diffstat (limited to 'src')
-rw-r--r--src/libs/qmljsdebugclient/qdeclarativedebug.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/qmljsdebugclient/qdeclarativedebug.cpp b/src/libs/qmljsdebugclient/qdeclarativedebug.cpp
index 064549aca6..1c78a7c91c 100644
--- a/src/libs/qmljsdebugclient/qdeclarativedebug.cpp
+++ b/src/libs/qmljsdebugclient/qdeclarativedebug.cpp
@@ -566,8 +566,9 @@ QDeclarativeDebugObjectQuery *QDeclarativeEngineDebug::queryObjectRecursive(cons
QByteArray message;
QDataStream ds(&message, QIODevice::WriteOnly);
ds << QByteArray("FETCH_OBJECT") << queryId << object.debugId()
- << true << false; //Note: this is different from the QDeclarativeEngineDebug in Qt,
- // dumping all the properties is slow, and make noticable lags
+ << true << true; // Note: dumping all the properties is slow, and make noticable lags.
+ // TODO: Find an alternative to this when they are needed by the live preview
+
d->client->sendMessage(message);
} else {
query->m_state = QDeclarativeDebugQuery::Error;