summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 12:54:03 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-29 14:37:28 +0200
commit1da76e21a0a39295c4ff41f8f268dc0eb854a482 (patch)
tree47c695748448fd44a4ea654ebc938bf95fd41a06 /src/location/declarativemaps/qdeclarativepolylinemapitem.cpp
parent76c0963f280484adaf859958b7d7017ddc4dc5da (diff)
downloadqtlocation-1da76e21a0a39295c4ff41f8f268dc0eb854a482.tar.gz
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I1aaf36e893b8f947abd0770acd9d3007cffdcb10 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolylinemapitem.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativepolylinemapitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp b/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp
index 0448d667..183ef0de 100644
--- a/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp
+++ b/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp
@@ -1686,7 +1686,7 @@ void QGeoMapPolylineGeometryOpenGL::allocateAndFillLineStrip(QSGGeometry *geom,
int lod) const
{
// Select LOD. Generate if not present. Assign it to m_screenVertices;
- Q_UNUSED(lod)
+ Q_UNUSED(lod);
const QList<QDeclarativeGeoMapItemUtils::vec2> &vx = *m_screenVertices;
geom->allocate(vx.size());