summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/locationvaluetypehelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/locationvaluetypehelper.cpp')
-rw-r--r--src/location/declarativemaps/locationvaluetypehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/locationvaluetypehelper.cpp b/src/location/declarativemaps/locationvaluetypehelper.cpp
index 3e2f3658..e1ef7f59 100644
--- a/src/location/declarativemaps/locationvaluetypehelper.cpp
+++ b/src/location/declarativemaps/locationvaluetypehelper.cpp
@@ -164,7 +164,7 @@ QJSValue fromList(const QObject *object, const QList<QGeoCoordinate> &list)
pathArray->put(i++, cv);
}
- return QJSValue(v4, pathArray.asReturnedValue());
+ return QJSValuePrivate::fromReturnedValue(pathArray.asReturnedValue());
}
QList<QGeoCoordinate> toList(const QObject *object, const QJSValue &value)