summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-09-01 01:54:14 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-09-01 01:54:14 (GMT)
commitce698d243f31d2b9adcdf2b6b40f5844c200b159 (patch)
tree6e1704313de68bb0fa31ff5a975662a458bf95ad /src/declarative/qml
parentb8cca95c0395369cdfb17c198aff085badcddd94 (diff)
downloadQt-ce698d243f31d2b9adcdf2b6b40f5844c200b159.zip
Qt-ce698d243f31d2b9adcdf2b6b40f5844c200b159.tar.gz
Qt-ce698d243f31d2b9adcdf2b6b40f5844c200b159.tar.bz2
Support JS "in" operator on QML objects
QTBUG-12837
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativeobjectscriptclass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeobjectscriptclass.cpp b/src/declarative/qml/qdeclarativeobjectscriptclass.cpp
index 3af892d..f439151 100644
--- a/src/declarative/qml/qdeclarativeobjectscriptclass.cpp
+++ b/src/declarative/qml/qdeclarativeobjectscriptclass.cpp
@@ -192,7 +192,7 @@ QDeclarativeObjectScriptClass::queryProperty(QObject *obj, const Identifier &nam
if (!(hints & ImplicitObject)) {
local.coreIndex = -1;
lastData = &local;
- return QScriptClass::HandlesReadAccess | QScriptClass::HandlesWriteAccess;
+ return QScriptClass::HandlesWriteAccess;
}
return 0;