summaryrefslogtreecommitdiffstats
path: root/scripts/templates/modulenamespace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/templates/modulenamespace.cpp')
-rw-r--r--scripts/templates/modulenamespace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/templates/modulenamespace.cpp b/scripts/templates/modulenamespace.cpp
index 3cb601e5..85d958f0 100644
--- a/scripts/templates/modulenamespace.cpp
+++ b/scripts/templates/modulenamespace.cpp
@@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
${enumeration.findvalue("ownedComment/body/text()")}
[%- FOREACH literal IN enumeration.findnodes("ownedLiteral") %]
- \value ${enumerationName.remove("Kind$")}${literal.findvalue("@name").ucfirst} ${literal.findvalue("ownedComment/body/text()")}
+ \value ${enumerationName.remove("Kind$").remove("Sort$")}${literal.findvalue("@name").ucfirst} ${literal.findvalue("ownedComment/body/text()")}
[% END -%]
*/
[% END -%]