diff options
Diffstat (limited to 'src/qml/qml/qqmlabstractbinding_p.h')
-rw-r--r-- | src/qml/qml/qqmlabstractbinding_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlabstractbinding_p.h b/src/qml/qml/qqmlabstractbinding_p.h index b9f8ecda5d..ae92077add 100644 --- a/src/qml/qml/qqmlabstractbinding_p.h +++ b/src/qml/qml/qqmlabstractbinding_p.h @@ -87,8 +87,9 @@ public: // Should return the encoded property index for the binding. Should return this value // even if the binding is not enabled or added to an object. - // Encoding is: coreIndex | (valueTypeIndex << 24) + // Encoding is: coreIndex | (valueTypeIndex << 16) int propertyIndex() const { return vtable()->propertyIndex(this); } + // Should return the object for the binding. Should return this object even if the // binding is not enabled or added to the object. QObject *object() const { return vtable()->object(this); } |