Commit 6f32c398 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.MetaInfo: Do not limit running the parent hierarchy

Change-Id: I95ba118c8ddd7e01117f649f2ff974f2c6ee4444
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 35b96f2f
......@@ -282,9 +282,9 @@ QList<PropertyInfo> getQmlTypes(const CppComponentValue *objectValue, const Cont
const CppComponentValue * qmlObjectValue = value_cast<CppComponentValue>(prototype);
if (qmlObjectValue)
propertyList.append(getQmlTypes(qmlObjectValue, context, false, rec + 1));
propertyList.append(getQmlTypes(qmlObjectValue, context, false, rec));
else
propertyList.append(getObjectTypes(prototype, context, false, rec + 1));
propertyList.append(getObjectTypes(prototype, context, false, rec));
}
return propertyList;
......@@ -356,9 +356,9 @@ QList<PropertyInfo> getObjectTypes(const ObjectValue *objectValue, const Context
const CppComponentValue * qmlObjectValue = value_cast<CppComponentValue>(prototype);
if (qmlObjectValue)
propertyList.append(getQmlTypes(qmlObjectValue, context, local, rec + 1));
propertyList.append(getQmlTypes(qmlObjectValue, context, local, rec));
else
propertyList.append(getObjectTypes(prototype, context, local, rec + 1));
propertyList.append(getObjectTypes(prototype, context, local, rec));
}
return propertyList;
......
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