aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/xmllistmodel/qqmlxmllistmodel.cpp')
-rw-r--r--src/imports/xmllistmodel/qqmlxmllistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
index c32fefe974..67504c7668 100644
--- a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
+++ b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
@@ -928,7 +928,7 @@ QQmlV4Handle QQuickXmlListModel::get(int index) const
for (int ii = 0; ii < d->roleObjects.count(); ++ii) {
ScopedString name(scope, v4engine->newIdentifier(d->roleObjects[ii]->name()));
Property *p = o->insertMember(name, PropertyAttributes());
- p->value = Value::fromReturnedValue(v8engine->fromVariant(d->data.value(ii).value(index)));
+ p->value = v8engine->fromVariant(d->data.value(ii).value(index));
}
return QQmlV4Handle(o);