aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertydata_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlpropertydata_p.h')
-rw-r--r--src/qml/qml/qqmlpropertydata_p.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlpropertydata_p.h b/src/qml/qml/qqmlpropertydata_p.h
index d239b461e1..4decbf6e21 100644
--- a/src/qml/qml/qqmlpropertydata_p.h
+++ b/src/qml/qml/qqmlpropertydata_p.h
@@ -259,8 +259,8 @@ public:
bool hasOverride() const { return overrideIndex() >= 0; }
bool hasRevision() const { return revision() != QTypeRevision::zero(); }
- int propType() const { return m_propType; }
- void setPropType(int pt)
+ QMetaType propType() const { return m_propType; }
+ void setPropType(QMetaType pt)
{
m_propType = pt;
}
@@ -397,7 +397,6 @@ private:
void lazyLoad(const QMetaMethod &);
Flags m_flags;
- int m_propType = 0;
qint16 m_coreIndex = -1;
// The notify index is in the range returned by QObjectPrivate::signalIndex().
@@ -410,6 +409,8 @@ private:
QTypeRevision m_revision = QTypeRevision::zero();
QTypeRevision m_typeVersion = QTypeRevision::zero();
+ QMetaType m_propType = {};
+
QQmlPropertyCacheMethodArguments *m_arguments = nullptr;
StaticMetaCallFunction m_staticMetaCallFunction = nullptr;
};