summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlmetaproperty.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-30 08:13:04 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-05 02:39:03 (GMT)
commitdff7f0593d86e90eb14c805a96ebbda778f45a82 (patch)
treee2c8c52170bf2884b4c8d138627492739944966b /src/declarative/qml/qmlmetaproperty.cpp
parent49527e854a9edb0a92e64264d6efac6be46cf0ed (diff)
downloadQt-dff7f0593d86e90eb14c805a96ebbda778f45a82.zip
Qt-dff7f0593d86e90eb14c805a96ebbda778f45a82.tar.gz
Qt-dff7f0593d86e90eb14c805a96ebbda778f45a82.tar.bz2
Improve script lookup caching
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty.cpp')
-rw-r--r--src/declarative/qml/qmlmetaproperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp
index f7882dc..ec143a7 100644
--- a/src/declarative/qml/qmlmetaproperty.cpp
+++ b/src/declarative/qml/qmlmetaproperty.cpp
@@ -218,7 +218,7 @@ void QmlMetaPropertyPrivate::initProperty(QObject *obj, const QString &name)
if (cache) {
QmlPropertyCache::Data *data = cache->property(name);
- if (data && !data->isFunction) {
+ if (data && !(data->flags & QmlPropertyCache::Data::IsFunction)) {
type = QmlMetaProperty::Property;
propType = data->propType;
coreIdx = data->coreIndex;