Ensure we send a -1 if the property is not a value type property.
Change-Id: Ic4fa6954a0bcfd32d50da565f82f21f17d81ac9b
Reviewed-by: Martin Jones <martin.jones@nokia.com>
binding->m_mePtr = &bindValues.top();
if (instr.isAlias) {
+ int valueTypeIndex = (property & 0x00FF0000) ? (property >> 24) : -1;
QQmlAbstractBinding *old =
QQmlPropertyPrivate::setBindingNoEnable(target,
- instr.property & 0xFFFF,
- instr.property >> 24,
+ property & 0xFFFF,
+ valueTypeIndex,
binding);
if (old) { old->destroy(); }
} else {