Commit 60c08de2 authored by Aurindam Jana's avatar Aurindam Jana
Browse files

QmlInspector: Do not show unnamed properties

Task-number: QTCREATORBUG-9069

Change-Id: If0fa1824c9f4b09d9ea4f1c470fdeb18c2836b36
Reviewed-by: default avatarChristian Stenger <>
parent fc194f82
......@@ -833,11 +833,14 @@ QList<WatchData> QmlInspectorAgent::buildWatchData(const ObjectReference &obj,
foreach (const PropertyReference &property, {
const QString propertyName =;
if (propertyName.isEmpty())
WatchData propertyWatch; = objDebugId;
propertyWatch.exp =; =;
propertyWatch.iname = buildIName(propertiesWatch.iname,;
propertyWatch.exp = propertyName.toLatin1(); = propertyName;
propertyWatch.iname = buildIName(propertiesWatch.iname, propertyName);
propertyWatch.type = property.valueTypeName().toLatin1();
propertyWatch.value = property.value().toString();
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