summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2013-05-23 13:52:30 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2013-05-23 14:04:18 +0200
commit6f32c398a19b0a18a8d7540b9a9bb16993c88fe1 (patch)
tree018a377765be9aea6ec7c34eebdb739d082ae996
parent35b96f2fc11bcc6d0b4bfb2b405c115fb0d6033e (diff)
downloadqt-creator-6f32c398a19b0a18a8d7540b9a9bb16993c88fe1.tar.gz
QmlDesigner.MetaInfo: Do not limit running the parent hierarchy
Change-Id: I95ba118c8ddd7e01117f649f2ff974f2c6ee4444 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
-rw-r--r--src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp b/src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp
index e068a4f4ff..cef87a80eb 100644
--- a/src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp
+++ b/src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp
@@ -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;