diff options
author | Jesus Fernandez <jesus.fernandez@qt.io> | 2019-01-22 15:45:20 +0100 |
---|---|---|
committer | Jesus Fernandez <Jesus.Fernandez@qt.io> | 2019-01-23 11:53:14 +0000 |
commit | 20a64642c1c4a535b750e8b86435141ca432b050 (patch) | |
tree | 4287c9def6419a5522a69c47e4a5399c8aae8010 /src/location/declarativemaps | |
parent | 8fbab5c949bf0fe1ec5e1e452a9c475681d7edc4 (diff) | |
download | qtlocation-20a64642c1c4a535b750e8b86435141ca432b050.tar.gz |
Unify semicolon usage in Q_UNUSED
Change-Id: I36dd6881b6f6f028869d63b6311cba7f52a99cc4
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/location/declarativemaps')
5 files changed, 6 insertions, 6 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeocodemodel.cpp b/src/location/declarativemaps/qdeclarativegeocodemodel.cpp index dcff0d44..3e1cca30 100644 --- a/src/location/declarativemaps/qdeclarativegeocodemodel.cpp +++ b/src/location/declarativemaps/qdeclarativegeocodemodel.cpp @@ -233,7 +233,7 @@ void QDeclarativeGeocodeModel::queryContentChanged() */ int QDeclarativeGeocodeModel::rowCount(const QModelIndex &parent) const { - Q_UNUSED(parent) + Q_UNUSED(parent); return declarativeLocations_.count(); } diff --git a/src/location/declarativemaps/qdeclarativegeomap.cpp b/src/location/declarativemaps/qdeclarativegeomap.cpp index 542b478e..997f8465 100644 --- a/src/location/declarativemaps/qdeclarativegeomap.cpp +++ b/src/location/declarativemaps/qdeclarativegeomap.cpp @@ -2458,7 +2458,7 @@ void QDeclarativeGeoMap::wheelEvent(QWheelEvent *event) */ bool QDeclarativeGeoMap::childMouseEventFilter(QQuickItem *item, QEvent *event) { - Q_UNUSED(item) + Q_UNUSED(item); if (!isVisible() || !isEnabled() || !isInteractive()) return QQuickItem::childMouseEventFilter(item, event); diff --git a/src/location/declarativemaps/qdeclarativegeomapitembase.cpp b/src/location/declarativemaps/qdeclarativegeomapitembase.cpp index 7de6afb5..7ee8944e 100644 --- a/src/location/declarativemaps/qdeclarativegeomapitembase.cpp +++ b/src/location/declarativemaps/qdeclarativegeomapitembase.cpp @@ -225,7 +225,7 @@ float QDeclarativeGeoMapItemBase::zoomLevelOpacity() const bool QDeclarativeGeoMapItemBase::childMouseEventFilter(QQuickItem *item, QEvent *event) { - Q_UNUSED(item) + Q_UNUSED(item); if (event->type() == QEvent::MouseButtonPress && !contains(static_cast<QMouseEvent*>(event)->pos())) { // In case of items that are not rectangles, this filter is used to test if the event has landed // inside the actual item shape. diff --git a/src/location/declarativemaps/qdeclarativegeomapitemview.cpp b/src/location/declarativemaps/qdeclarativegeomapitemview.cpp index d404fd47..a769a0c9 100644 --- a/src/location/declarativemaps/qdeclarativegeomapitemview.cpp +++ b/src/location/declarativemaps/qdeclarativegeomapitemview.cpp @@ -378,7 +378,7 @@ void QDeclarativeGeoMapItemView::removeDelegateFromMap(int index, bool transitio if (releaseStatus == QQmlInstanceModel::Referenced) qWarning() << "item "<< index << "(" << item << ") still referenced"; #else - Q_UNUSED(releaseStatus) + Q_UNUSED(releaseStatus); #endif } } @@ -450,7 +450,7 @@ void QDeclarativeGeoMapItemView::exitTransitionFinished() if (releaseStatus == QQmlInstanceModel::Referenced) qWarning() << "item "<<item<<" still referenced"; #else - Q_UNUSED(releaseStatus) + Q_UNUSED(releaseStatus); #endif } diff --git a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp index 96f4dad1..499f1c51 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp +++ b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp @@ -273,7 +273,7 @@ void QDeclarativeGeoRouteModel::componentComplete() */ int QDeclarativeGeoRouteModel::rowCount(const QModelIndex &parent) const { - Q_UNUSED(parent) + Q_UNUSED(parent); return routes_.count(); } |