summaryrefslogtreecommitdiffstats
path: root/ApiExtractor/abstractmetabuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ApiExtractor/abstractmetabuilder.cpp')
-rw-r--r--ApiExtractor/abstractmetabuilder.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ApiExtractor/abstractmetabuilder.cpp b/ApiExtractor/abstractmetabuilder.cpp
index 564f6c3e..ebb3134e 100644
--- a/ApiExtractor/abstractmetabuilder.cpp
+++ b/ApiExtractor/abstractmetabuilder.cpp
@@ -414,9 +414,8 @@ bool AbstractMetaBuilder::build(QIODevice* input)
ReportHandler::flush();
// We need to know all global enums
- QHash<QString, EnumModelItem> enumMap = m_dom->enumMap();
- ReportHandler::setProgressReference(enumMap);
- foreach (EnumModelItem item, enumMap) {
+ ReportHandler::setProgressReference(m_dom->enumMap());
+ foreach (EnumModelItem item, m_dom->enums()) {
ReportHandler::progress("Generating enum model...");
AbstractMetaEnum *metaEnum = traverseEnum(item, 0, QSet<QString>());
if (metaEnum) {