diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-01-08 13:08:41 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-20 21:13:48 +0100 |
commit | a7431e41128bd3aa272223746a5bb57597a87de3 (patch) | |
tree | e5308d5fed3474badba313179f2f1891df300bac /src/qml/jsapi/qjsvalueiterator_p.h | |
parent | 50d6e51c73a37858699b90d64657cec5e0b53610 (diff) |
Remove Property * return value from ObjectIterator
The added side effect is that the QJSValueIterator is now
somewhat faster.
Change-Id: I01ba9f2a72a34224f5691130df69a91ab75b72e6
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsapi/qjsvalueiterator_p.h')
-rw-r--r-- | src/qml/jsapi/qjsvalueiterator_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsapi/qjsvalueiterator_p.h b/src/qml/jsapi/qjsvalueiterator_p.h index b7a9b4a190..80d1885811 100644 --- a/src/qml/jsapi/qjsvalueiterator_p.h +++ b/src/qml/jsapi/qjsvalueiterator_p.h @@ -56,9 +56,11 @@ public: QJSValue value; QV4::PersistentValue iterator; + QV4::Property currentProperty; QV4::PropertyAttributes currentAttributes; QV4::SafeString currentName; uint currentIndex; + QV4::Property nextProperty; QV4::PropertyAttributes nextAttributes; QV4::SafeString nextName; uint nextIndex; |