summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2020-04-02 13:58:09 +0200
committerAlex Blasche <alexander.blasche@qt.io>2020-04-03 09:12:24 +0200
commiteda2a7c286058176e1906d0ddc88d4e2cfbec55e (patch)
tree8583de706f204d2a020bdf76e2ae5120acdd86e9
parentf64813599bc4d1f57c964727e6b5b4ba3b6cb24a (diff)
downloadqtlocation-eda2a7c286058176e1906d0ddc88d4e2cfbec55e.tar.gz
Change QQmlListProperty ctor expecting a QList ptrv5.15.0-beta4
This was introduced by 5a4ffa0de0ecc666a514ef60f0149a76d25b040d Change-Id: Icccf0c8cd3154c102fd93b79e81199e043f7d0bb Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r--src/location/declarativemaps/qdeclarativegeomap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap.cpp b/src/location/declarativemaps/qdeclarativegeomap.cpp
index fc282829..875b8e47 100644
--- a/src/location/declarativemaps/qdeclarativegeomap.cpp
+++ b/src/location/declarativemaps/qdeclarativegeomap.cpp
@@ -1497,7 +1497,7 @@ QMargins QDeclarativeGeoMap::mapMargins() const
*/
QQmlListProperty<QDeclarativeGeoMapType> QDeclarativeGeoMap::supportedMapTypes()
{
- return QQmlListProperty<QDeclarativeGeoMapType>(this, m_supportedMapTypes);
+ return QQmlListProperty<QDeclarativeGeoMapType>(this, &m_supportedMapTypes);
}
/*!