aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvmemetaobject.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-05-04 16:14:29 +0200
committerUlf Hermann <ulf.hermann@qt.io>2022-05-11 12:56:22 +0200
commit6be0db416b867d432a826556dfc00929ecd77aba (patch)
tree3966880a9494f062c7f8468bedbc3ef5af3e65b6 /src/qml/qml/qqmlvmemetaobject.cpp
parent36ebee4e69182f0e44d87691d4740b271e1dcf38 (diff)
QML: Port QV4::CompiledData::Property to new special integer bitfield
Pick-to: 5.15 6.2 6.3 Task-number: QTBUG-99545 Change-Id: I46f9151536ba09417d117d690d7347bd91c13e75 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlvmemetaobject.cpp')
-rw-r--r--src/qml/qml/qqmlvmemetaobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlvmemetaobject.cpp b/src/qml/qml/qqmlvmemetaobject.cpp
index 0ee7e07579..dbcb0005d0 100644
--- a/src/qml/qml/qqmlvmemetaobject.cpp
+++ b/src/qml/qml/qqmlvmemetaobject.cpp
@@ -711,7 +711,7 @@ int QQmlVMEMetaObject::metaCall(QObject *o, QMetaObject::Call c, int _id, void *
: QQmlEnginePrivate::get(ctxt->engine());
if (c == QMetaObject::ReadProperty) {
- if (property.isList) {
+ if (property.isList()) {
// _id because this is an absolute property ID.
const QQmlPropertyData *propertyData = cache->property(_id);
const QMetaType propType = propertyData->propType();
@@ -838,7 +838,7 @@ int QQmlVMEMetaObject::metaCall(QObject *o, QMetaObject::Call c, int _id, void *
} else if (c == QMetaObject::WriteProperty) {
bool needActivate = false;
- if (property.isList) {
+ if (property.isList()) {
// _id because this is an absolute property ID.
const QQmlPropertyData *propertyData = cache->property(_id);
const QMetaType propType = propertyData->propType();