summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qgeomapitemgeometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/qgeomapitemgeometry.cpp')
-rw-r--r--src/location/declarativemaps/qgeomapitemgeometry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/declarativemaps/qgeomapitemgeometry.cpp b/src/location/declarativemaps/qgeomapitemgeometry.cpp
index 28e9fa67..f7feec5c 100644
--- a/src/location/declarativemaps/qgeomapitemgeometry.cpp
+++ b/src/location/declarativemaps/qgeomapitemgeometry.cpp
@@ -71,8 +71,8 @@ void QGeoMapItemGeometry::translate(const QPointF &offset)
*/
void QGeoMapItemGeometry::allocateAndFill(QSGGeometry *geom) const
{
- const QVector<QPointF> &vx = screenVertices_;
- const QVector<quint32> &ix = screenIndices_;
+ const QList<QPointF> &vx = screenVertices_;
+ const QList<quint32> &ix = screenIndices_;
if (isIndexed()) {
geom->allocate(vx.size(), ix.size());