aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qml/qml/qqmltype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmltype.cpp b/src/qml/qml/qqmltype.cpp
index 4a211ffa53..97fcba5009 100644
--- a/src/qml/qml/qqmltype.cpp
+++ b/src/qml/qml/qqmltype.cpp
@@ -270,7 +270,7 @@ void QQmlTypePrivate::initEnums(QQmlEnginePrivate *engine) const
? compositePropertyCache(engine)
: nullptr;
- const QMetaObject *metaObject = !isEnumFromCacheSetup
+ const QMetaObject *metaObject = !isEnumFromBaseSetup
? baseMetaObject // beware: It could be a singleton type without metaobject
: nullptr;