From 864988474a96145f0506a80aa36c341a9f29e85b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sun, 26 Apr 2015 09:22:17 +0200 Subject: Move the StringValue members of ExecutionEngine onto the JS stack Change-Id: Ib55c05f1730b7659e2f6fee7e1fa79c10c759167 Reviewed-by: Simon Hausmann --- src/qml/types/qqmldelegatemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/types/qqmldelegatemodel.cpp') diff --git a/src/qml/types/qqmldelegatemodel.cpp b/src/qml/types/qqmldelegatemodel.cpp index d5fa2f4972..630c7e7e4a 100644 --- a/src/qml/types/qqmldelegatemodel.cpp +++ b/src/qml/types/qqmldelegatemodel.cpp @@ -3311,7 +3311,7 @@ public: Q_ASSERT(m->as()); const QQmlDelegateModelGroupChangeArray *array = static_cast(m); - if (name->equals(array->engine()->id_length)) { + if (name->equals(array->engine()->id_length())) { if (hasProperty) *hasProperty = true; return QV4::Encode(array->count()); -- cgit v1.2.3