From 293160d219affce99c8935a43d1307ebb2dc9a8b Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Wed, 15 Jun 2011 10:03:50 +1000 Subject: [PATCH] Correct handling of CONSTANT properties Were being marked as missing a notifier instead. --- src/declarative/qml/v8/qv8qobjectwrapper.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/declarative/qml/v8/qv8qobjectwrapper.cpp b/src/declarative/qml/v8/qv8qobjectwrapper.cpp index 8fbb1cf..bf9229b 100644 --- a/src/declarative/qml/v8/qv8qobjectwrapper.cpp +++ b/src/declarative/qml/v8/qv8qobjectwrapper.cpp @@ -829,7 +829,7 @@ v8::Local QDeclarativePropertyCache::newQObject(QObject *object, QV8 int notifyIndex = property->notifyIndex; if (property->isConstant()) notifyIndex = 0; else if (notifyIndex == -1) notifyIndex = 0x7FFF; - uint32_t data = (property->notifyIndex & 0x7FFF) << 16 | property->coreIndex; + uint32_t data = (notifyIndex & 0x7FFF) << 16 | property->coreIndex; QString name = iter.key(); if (name == toString || name == destroy) -- 1.7.2.5