From 0f13b4f396ac21dee5ba1df2cc4cd482b3b41f88 Mon Sep 17 00:00:00 2001 From: "Sandro S. Andrade" Date: Tue, 26 Nov 2013 05:52:45 -0300 Subject: Update metamodel implementation. UML update coming soon ... Change-Id: Ie5c42361c8fdae602134c9bdd8ce19416b2c7f40 Reviewed-by: Sandro S. Andrade --- scripts/templates/common.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/templates/common.tmpl') diff --git a/scripts/templates/common.tmpl b/scripts/templates/common.tmpl index 82e8deb4..86f8bf73 100644 --- a/scripts/templates/common.tmpl +++ b/scripts/templates/common.tmpl @@ -535,7 +535,7 @@ void Q${namespace}${originalClassName}Object::unset${qtAttribute.remove("^is").u [%- SET attributeName = attribute.findvalue("@name") -%] [%- SET qtAttribute = QT_ATTRIBUTE(attribute) -%] [%- NEXT IF redefinedProperties.grep("^${className}-${qtAttribute}$").size > 0 -%] - [%- NEXT IF attribute.findvalue("@aggregation") != "composite" -%] + [%- NEXT IF attribute.findvalue("@aggregation") != "composite" && qtType.match('\*') -%] [%- IF qtType.match("QList|QSet") %] foreach (${qtType.remove("QList<").remove("QSet<").remove(">").replace('\* ', '*')}element, ${PLURALFORM(qtAttribute, attribute)}()) [%- IF qtType.match('\*') %] -- cgit v1.2.3