summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/debugger/qml/qmlinspectoragent.cpp10
-rw-r--r--src/plugins/debugger/qml/qmlinspectoragent.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/plugins/debugger/qml/qmlinspectoragent.cpp b/src/plugins/debugger/qml/qmlinspectoragent.cpp
index 3c3fcd80dd..5bb3538712 100644
--- a/src/plugins/debugger/qml/qmlinspectoragent.cpp
+++ b/src/plugins/debugger/qml/qmlinspectoragent.cpp
@@ -60,7 +60,6 @@ QmlInspectorAgent::QmlInspectorAgent(DebuggerEngine *engine, QObject *parent)
, m_engineQueryId(0)
, m_rootContextQueryId(0)
, m_objectToSelect(-1)
- , m_newObjectsCreated(false)
{
m_debugIdToIname.insert(-1, QByteArray("inspect"));
connect(debuggerCore()->action(ShowQmlObjectTree),
@@ -810,11 +809,6 @@ QList<WatchData> QmlInspectorAgent::buildWatchData(const ObjectReference &obj,
// element makes sure we're queried on expansion.
if (obj.needsMoreData())
return list;
-
- // To improve performance, we do not insert data for items
- // that have not been previously queried when the object tree is refreshed.
- if (m_newObjectsCreated)
- append = false;
}
// properties
@@ -882,10 +876,6 @@ void QmlInspectorAgent::clearObjectTree()
m_debugIdToIname.clear();
m_debugIdToIname.insert(-1, QByteArray("inspect"));
m_objectStack.clear();
- // reset only for qt > 4.8.3.
- if (m_engineClient->objectName() != QLatin1String(QDECLARATIVE_ENGINE))
- m_newObjectsCreated = false;
-
removeAllObjectWatches();
}
} // Internal
diff --git a/src/plugins/debugger/qml/qmlinspectoragent.h b/src/plugins/debugger/qml/qmlinspectoragent.h
index b50e8df9ca..c74831b66e 100644
--- a/src/plugins/debugger/qml/qmlinspectoragent.h
+++ b/src/plugins/debugger/qml/qmlinspectoragent.h
@@ -145,7 +145,6 @@ private:
QList<int> m_objectWatches;
QList<int> m_fetchDataIds;
QTimer m_delayQueryTimer;
- bool m_newObjectsCreated;
};
} // Internal