From 1da76e21a0a39295c4ff41f8f268dc0eb854a482 Mon Sep 17 00:00:00 2001 From: Lars Schmertmann Date: Sat, 27 Jun 2020 12:54:03 +0200 Subject: 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 --- src/location/declarativemaps/qparameterizableobject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/location/declarativemaps/qparameterizableobject.cpp') diff --git a/src/location/declarativemaps/qparameterizableobject.cpp b/src/location/declarativemaps/qparameterizableobject.cpp index 26d9a11e..25c535e0 100644 --- a/src/location/declarativemaps/qparameterizableobject.cpp +++ b/src/location/declarativemaps/qparameterizableobject.cpp @@ -111,8 +111,8 @@ QParameterizableObject::QParameterizableObject(QObject *parent) void QParameterizableObjectData::parentChanged(QAbstractDeclarativeData *d, QObject *o, QObject *p) { - Q_UNUSED(p) - Q_UNUSED(d) + Q_UNUSED(p); + Q_UNUSED(d); QParameterizableObject *po = qobject_cast(o); if (po) po->parentChanged(); -- cgit v1.2.1