From 4350877d6deb58f36df24164c6edde3302a3f1a3 Mon Sep 17 00:00:00 2001 From: Matthew Vogt Date: Wed, 1 Aug 2012 10:27:17 +1000 Subject: Permit value types with metatype IDs >= QMetaType::User Remove the assumption that value types must be types defined by Qt, having metatype IDs below QMetaType::User. Task-number: QTBUG-26352 Change-Id: Ib5a56ff2e7892e82adf17a3a1e7517a0c9fe0534 Reviewed-by: Michael Brasser --- src/qml/qml/qqmlvaluetypeproxybinding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmlvaluetypeproxybinding.cpp') diff --git a/src/qml/qml/qqmlvaluetypeproxybinding.cpp b/src/qml/qml/qqmlvaluetypeproxybinding.cpp index f8d54a6815..09e5b27c02 100644 --- a/src/qml/qml/qqmlvaluetypeproxybinding.cpp +++ b/src/qml/qml/qqmlvaluetypeproxybinding.cpp @@ -131,7 +131,7 @@ void QQmlValueTypeProxyBinding::removeBindings(quint32 mask) QQmlAbstractBinding *lastBinding = 0; while (binding) { - if (mask & (1 << (binding->propertyIndex() >> 24))) { + if (mask & (1 << (binding->propertyIndex() >> 16))) { QQmlAbstractBinding *remove = binding; binding = remove->nextBinding(); -- cgit v1.2.3