diff options
Diffstat (limited to 'src/qmlcompiler/qqmljstypedescriptionreader.cpp')
-rw-r--r-- | src/qmlcompiler/qqmljstypedescriptionreader.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qmlcompiler/qqmljstypedescriptionreader.cpp b/src/qmlcompiler/qqmljstypedescriptionreader.cpp index 8c6368dfde..9360119c5c 100644 --- a/src/qmlcompiler/qqmljstypedescriptionreader.cpp +++ b/src/qmlcompiler/qqmljstypedescriptionreader.cpp @@ -31,8 +31,7 @@ QString toString(const UiQualifiedId *qualifiedId, QChar delimiter = QLatin1Char } bool QQmlJSTypeDescriptionReader::operator()( - QHash<QString, QQmlJSExportedScope> *objects, - QStringList *dependencies) + QList<QQmlJSExportedScope> *objects, QStringList *dependencies) { Engine engine; @@ -260,7 +259,7 @@ void QQmlJSTypeDescriptionReader::readComponent(UiObjectDefinition *ast) if (metaObjectRevisions) checkMetaObjectRevisions(metaObjectRevisions, &exports); - m_objects->insert(scope->internalName(), {scope, exports}); + m_objects->append({scope, exports}); } void QQmlJSTypeDescriptionReader::readSignalOrMethod(UiObjectDefinition *ast, bool isMethod, |