aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'abstractmetabuilder.cpp')
-rw-r--r--abstractmetabuilder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp
index fe310cf1e..41a8b9532 100644
--- a/abstractmetabuilder.cpp
+++ b/abstractmetabuilder.cpp
@@ -337,6 +337,7 @@ bool AbstractMetaBuilder::build(QIODevice* input)
// Start the generation...
ClassList typeValues = typeMap.values();
+ qSort(typeValues);
ClassList::iterator it = std::unique(typeValues.begin(), typeValues.end());
typeValues.erase(it, typeValues.end());