aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldom/qqmldomtypesreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmldom/qqmldomtypesreader.cpp')
-rw-r--r--src/qmldom/qqmldomtypesreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmldom/qqmldomtypesreader.cpp b/src/qmldom/qqmldomtypesreader.cpp
index 355ef99eba..69fba60047 100644
--- a/src/qmldom/qqmldomtypesreader.cpp
+++ b/src/qmldom/qqmldomtypesreader.cpp
@@ -246,7 +246,7 @@ bool QmltypesReader::parse()
QQmlJSTypeDescriptionReader reader(qmltypesFilePtr()->canonicalFilePath(),
qmltypesFilePtr()->code());
QStringList dependencies;
- QHash<QString, QQmlJSExportedScope> objects;
+ QList<QQmlJSExportedScope> objects;
m_isValid = reader(&objects, &dependencies);
for (const auto &obj : std::as_const(objects))
insertComponent(obj.scope, obj.exports);