Commit fdabb6d6 authored by Simjees Abraham's avatar Simjees Abraham Committed by Aurindam Jana

Debugger: resetting of newObjectsCreated done only for Qt5.x

done to correct the regression introduced in
2574a584

Change-Id: I0d9fb8fabcd134f53f1a1c9d0fa04ca7b542a88c
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 95333496
......@@ -879,7 +879,9 @@ void QmlInspectorAgent::clearObjectTree()
m_debugIdToIname.clear();
m_debugIdChildIds.clear();
m_objectStack.clear();
m_newObjectsCreated = false;
// reset only for 5.x.
if (m_engineClient->objectName() == QmlDebug::Constants::QML_DEBUGGER)
m_newObjectsCreated = false;
removeAllObjectWatches();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment