forked from qt-creator/qt-creator
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user