diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-11-11 14:12:55 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-11-12 08:06:34 +0100 |
commit | 6a605df673380ffe4e7ee24417175f58ba7972a4 (patch) | |
tree | 182471e75532eefba19aede0a2690688db036ee5 /src/qmlcompiler/qqmljstypedescriptionreader.cpp | |
parent | 262d7eb305e1dea8dac660bec3ccc50193258ea9 (diff) |
QmlCompiler: Allow more convenient access to enums in QQmlJSScope
Change-Id: Ibac4dd7641a89b686bee63cf974b2257a35631a2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljstypedescriptionreader.cpp')
-rw-r--r-- | src/qmlcompiler/qqmljstypedescriptionreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljstypedescriptionreader.cpp b/src/qmlcompiler/qqmljstypedescriptionreader.cpp index fd875dd715..0a5c97c3db 100644 --- a/src/qmlcompiler/qqmljstypedescriptionreader.cpp +++ b/src/qmlcompiler/qqmljstypedescriptionreader.cpp @@ -386,7 +386,7 @@ void QQmlJSTypeDescriptionReader::readEnum(UiObjectDefinition *ast, const QQmlJS } } - scope->addEnum(metaEnum); + scope->addEnumeration(metaEnum); } void QQmlJSTypeDescriptionReader::readParameter(UiObjectDefinition *ast, QQmlJSMetaMethod *metaMethod) |