QmlJSInspector: Query Root Objects

As parentIds are now known, query only root objects initially and
build the object tree lazily.

Change-Id: Ic6895ad8a0dd8dc2a2b1d8aa71fdf6766974eea5
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-04-10 10:36:00 +02:00
parent a7c1f55eba
commit c74458765d
3 changed files with 10 additions and 7 deletions

View File

@@ -371,7 +371,7 @@ void InspectorUi::disconnected()
void InspectorUi::onRootContext(const QVariant &value)
{
if (m_crumblePath->dataForLastIndex().toInt() < 0) {
m_clientProxy->fetchContextObjectRecursive(
m_clientProxy->fetchRootObjects(
qvariant_cast<QmlDebugContextReference>(
value), true);
} else {