diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-06-15 10:03:50 +1000 |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-06-15 10:03:50 +1000 |
commit | 293160d219affce99c8935a43d1307ebb2dc9a8b (patch) | |
tree | f6a5d0dd5e37c5d81ece4696a70d8913be844322 /src/declarative/qml/v8/qv8qobjectwrapper.cpp | |
parent | 3ad5beee4c3fbbc855b84c8982c5458d634f1dee (diff) |
Correct handling of CONSTANT properties
Were being marked as missing a notifier instead.
Diffstat (limited to 'src/declarative/qml/v8/qv8qobjectwrapper.cpp')
-rw-r--r-- | 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 8fbb1cf8bf..bf9229b455 100644 --- a/src/declarative/qml/v8/qv8qobjectwrapper.cpp +++ b/src/declarative/qml/v8/qv8qobjectwrapper.cpp @@ -829,7 +829,7 @@ v8::Local<v8::Object> 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) |