QmlInspector: dumping object properties when fetching tree

Reviewed by: Kai Koehne
This commit is contained in:
Christiaan Janssen
2010-09-21 17:15:02 +02:00
parent 727c16a690
commit ef8d8e65da

View File

@@ -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;