From c1d66eec1dbaf9034e03e3efa0403a774c764373 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 1 Oct 2013 16:11:55 +0200 Subject: Cleanup API of Safe Don't have an implicit cast operator to Returned anymore, and return a T* from the operator->() Change-Id: If4165071b986bfc84a157560d94d39c2dcfbc9e1 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmllistwrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmllistwrapper.cpp') diff --git a/src/qml/qml/qqmllistwrapper.cpp b/src/qml/qml/qqmllistwrapper.cpp index de4fbbb408..c1ec5dc1c1 100644 --- a/src/qml/qml/qqmllistwrapper.cpp +++ b/src/qml/qml/qqmllistwrapper.cpp @@ -107,7 +107,7 @@ ReturnedValue QmlListWrapper::get(Managed *m, const StringRef name, bool *hasPro if (!w) v4->current->throwTypeError(); - if (name->isEqualTo(v4->id_length) && !w->object.isNull()) { + if (name->equals(v4->id_length) && !w->object.isNull()) { quint32 count = w->property.count ? w->property.count(&w->property) : 0; return Primitive::fromUInt32(count).asReturnedValue(); } -- cgit v1.2.3