summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/kernel/qmetaobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp
index 35ccde1..7502842 100644
--- a/src/corelib/kernel/qmetaobject.cpp
+++ b/src/corelib/kernel/qmetaobject.cpp
@@ -2070,7 +2070,7 @@ int QMetaProperty::propertyIndex() const
{
if (!mobj)
return -1;
- return ((handle - priv(mobj->d.data)->propertyData) / 3) + mobj->propertyOffset();
+ return idx + mobj->propertyOffset();
}
/*!