summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2019-01-22 15:45:20 +0100
committerJesus Fernandez <Jesus.Fernandez@qt.io>2019-01-23 11:53:14 +0000
commit20a64642c1c4a535b750e8b86435141ca432b050 (patch)
tree4287c9def6419a5522a69c47e4a5399c8aae8010 /src/plugins/geoservices
parent8fbab5c949bf0fe1ec5e1e452a9c475681d7edc4 (diff)
downloadqtlocation-20a64642c1c4a535b750e8b86435141ca432b050.tar.gz
Unify semicolon usage in Q_UNUSED
Change-Id: I36dd6881b6f6f028869d63b6311cba7f52a99cc4 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/plugins/geoservices')
-rw-r--r--src/plugins/geoservices/esri/geocodereply_esri.cpp2
-rw-r--r--src/plugins/geoservices/esri/geocodingmanagerengine_esri.cpp4
-rw-r--r--src/plugins/geoservices/esri/georoutereply_esri.cpp2
-rw-r--r--src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.cpp2
-rw-r--r--src/plugins/geoservices/itemsoverlay/qgeomappingmanagerengineitemsoverlay.cpp6
-rw-r--r--src/plugins/geoservices/itemsoverlay/qgeoserviceproviderpluginitemsoverlay.cpp18
-rw-r--r--src/plugins/geoservices/mapbox/qgeocodereplymapbox.cpp2
-rw-r--r--src/plugins/geoservices/mapbox/qgeocodingmanagerenginemapbox.cpp2
-rw-r--r--src/plugins/geoservices/mapbox/qgeoroutereplymapbox.cpp2
-rw-r--r--src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp2
-rw-r--r--src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp2
-rw-r--r--src/plugins/geoservices/mapbox/qplacesearchsuggestionreplymapbox.cpp2
-rw-r--r--src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp18
-rw-r--r--src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp4
-rw-r--r--src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp2
-rw-r--r--src/plugins/geoservices/nokia/qgeouriprovider.cpp4
-rw-r--r--src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp4
-rw-r--r--src/plugins/geoservices/osm/qgeocodereplyosm.cpp2
-rw-r--r--src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp4
-rw-r--r--src/plugins/geoservices/osm/qgeofiletilecacheosm.cpp4
-rw-r--r--src/plugins/geoservices/osm/qgeoroutereplyosm.cpp2
-rw-r--r--src/plugins/geoservices/osm/qgeotileproviderosm.cpp4
-rw-r--r--src/plugins/geoservices/osm/qplacemanagerengineosm.cpp2
-rw-r--r--src/plugins/geoservices/osm/qplacesearchreplyosm.cpp2
24 files changed, 49 insertions, 49 deletions
diff --git a/src/plugins/geoservices/esri/geocodereply_esri.cpp b/src/plugins/geoservices/esri/geocodereply_esri.cpp
index fd1071c9..eca3def1 100644
--- a/src/plugins/geoservices/esri/geocodereply_esri.cpp
+++ b/src/plugins/geoservices/esri/geocodereply_esri.cpp
@@ -73,7 +73,7 @@ GeoCodeReplyEsri::~GeoCodeReplyEsri()
void GeoCodeReplyEsri::networkReplyError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = static_cast<QNetworkReply *>(sender());
reply->deleteLater();
setError(QGeoCodeReply::CommunicationError, reply->errorString());
diff --git a/src/plugins/geoservices/esri/geocodingmanagerengine_esri.cpp b/src/plugins/geoservices/esri/geocodingmanagerengine_esri.cpp
index 17ed3cd2..5a40467e 100644
--- a/src/plugins/geoservices/esri/geocodingmanagerengine_esri.cpp
+++ b/src/plugins/geoservices/esri/geocodingmanagerengine_esri.cpp
@@ -106,7 +106,7 @@ QGeoCodeReply *GeoCodingManagerEngineEsri::geocode(const QGeoAddress &address,
QGeoCodeReply *GeoCodingManagerEngineEsri::geocode(const QString &address, int limit, int offset,
const QGeoShape &bounds)
{
- Q_UNUSED(offset)
+ Q_UNUSED(offset);
QNetworkRequest request;
request.setHeader(QNetworkRequest::UserAgentHeader, m_userAgent);
@@ -140,7 +140,7 @@ QGeoCodeReply *GeoCodingManagerEngineEsri::geocode(const QString &address, int l
QGeoCodeReply *GeoCodingManagerEngineEsri::reverseGeocode(const QGeoCoordinate &coordinate,
const QGeoShape &bounds)
{
- Q_UNUSED(bounds)
+ Q_UNUSED(bounds);
QNetworkRequest request;
request.setHeader(QNetworkRequest::UserAgentHeader, m_userAgent);
diff --git a/src/plugins/geoservices/esri/georoutereply_esri.cpp b/src/plugins/geoservices/esri/georoutereply_esri.cpp
index 95de6b55..a47db6fb 100644
--- a/src/plugins/geoservices/esri/georoutereply_esri.cpp
+++ b/src/plugins/geoservices/esri/georoutereply_esri.cpp
@@ -87,7 +87,7 @@ void GeoRouteReplyEsri::networkReplyFinished()
void GeoRouteReplyEsri::networkReplyError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = static_cast<QNetworkReply *>(sender());
reply->deleteLater();
setError(QGeoRouteReply::CommunicationError, reply->errorString());
diff --git a/src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.cpp b/src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.cpp
index dede9dbc..f6520484 100644
--- a/src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.cpp
+++ b/src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.cpp
@@ -112,7 +112,7 @@ bool QGeoMapItemsOverlay::createMapObjectImplementation(QGeoMapObject *obj)
QSGNode *QGeoMapItemsOverlay::updateSceneGraph(QSGNode *node, QQuickWindow *window)
{
#ifndef LOCATIONLABS
- Q_UNUSED(window)
+ Q_UNUSED(window);
return node;
#else
Q_D(QGeoMapItemsOverlay);
diff --git a/src/plugins/geoservices/itemsoverlay/qgeomappingmanagerengineitemsoverlay.cpp b/src/plugins/geoservices/itemsoverlay/qgeomappingmanagerengineitemsoverlay.cpp
index c19815e8..abaffdb7 100644
--- a/src/plugins/geoservices/itemsoverlay/qgeomappingmanagerengineitemsoverlay.cpp
+++ b/src/plugins/geoservices/itemsoverlay/qgeomappingmanagerengineitemsoverlay.cpp
@@ -47,9 +47,9 @@ QT_BEGIN_NAMESPACE
QGeoMappingManagerEngineItemsOverlay::QGeoMappingManagerEngineItemsOverlay(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString)
: QGeoMappingManagerEngine()
{
- Q_UNUSED(parameters)
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(parameters);
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
QGeoCameraCapabilities cameraCaps;
cameraCaps.setMinimumZoomLevel(0.0);
cameraCaps.setMaximumZoomLevel(30.0);
diff --git a/src/plugins/geoservices/itemsoverlay/qgeoserviceproviderpluginitemsoverlay.cpp b/src/plugins/geoservices/itemsoverlay/qgeoserviceproviderpluginitemsoverlay.cpp
index b83a5eb1..417e1ee4 100644
--- a/src/plugins/geoservices/itemsoverlay/qgeoserviceproviderpluginitemsoverlay.cpp
+++ b/src/plugins/geoservices/itemsoverlay/qgeoserviceproviderpluginitemsoverlay.cpp
@@ -42,9 +42,9 @@ QT_BEGIN_NAMESPACE
QGeoCodingManagerEngine *QGeoServiceProviderFactoryItemsOverlay::createGeocodingManagerEngine(
const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
{
- Q_UNUSED(parameters)
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(parameters);
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
return 0;
}
@@ -58,9 +58,9 @@ QGeoMappingManagerEngine *QGeoServiceProviderFactoryItemsOverlay::createMappingM
QGeoRoutingManagerEngine *QGeoServiceProviderFactoryItemsOverlay::createRoutingManagerEngine(
const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
{
- Q_UNUSED(parameters)
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(parameters);
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
return 0;
}
@@ -68,9 +68,9 @@ QGeoRoutingManagerEngine *QGeoServiceProviderFactoryItemsOverlay::createRoutingM
QPlaceManagerEngine *QGeoServiceProviderFactoryItemsOverlay::createPlaceManagerEngine(
const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
{
- Q_UNUSED(parameters)
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(parameters);
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
return 0;
}
diff --git a/src/plugins/geoservices/mapbox/qgeocodereplymapbox.cpp b/src/plugins/geoservices/mapbox/qgeocodereplymapbox.cpp
index db7a35c4..bb84b531 100644
--- a/src/plugins/geoservices/mapbox/qgeocodereplymapbox.cpp
+++ b/src/plugins/geoservices/mapbox/qgeocodereplymapbox.cpp
@@ -97,7 +97,7 @@ void QGeoCodeReplyMapbox::onNetworkReplyFinished()
void QGeoCodeReplyMapbox::onNetworkReplyError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = static_cast<QNetworkReply *>(sender());
reply->deleteLater();
setError(QGeoCodeReply::CommunicationError, reply->errorString());
diff --git a/src/plugins/geoservices/mapbox/qgeocodingmanagerenginemapbox.cpp b/src/plugins/geoservices/mapbox/qgeocodingmanagerenginemapbox.cpp
index e0c4f6a5..3780d6ca 100644
--- a/src/plugins/geoservices/mapbox/qgeocodingmanagerenginemapbox.cpp
+++ b/src/plugins/geoservices/mapbox/qgeocodingmanagerenginemapbox.cpp
@@ -137,7 +137,7 @@ QGeoCodeReply *QGeoCodingManagerEngineMapbox::geocode(const QGeoAddress &address
QGeoCodeReply *QGeoCodingManagerEngineMapbox::geocode(const QString &address, int limit, int offset, const QGeoShape &bounds)
{
- Q_UNUSED(offset)
+ Q_UNUSED(offset);
QUrlQuery queryItems;
queryItems.addQueryItem(QStringLiteral("type"), allAddressTypes);
diff --git a/src/plugins/geoservices/mapbox/qgeoroutereplymapbox.cpp b/src/plugins/geoservices/mapbox/qgeoroutereplymapbox.cpp
index 8b0772ad..86da24ab 100644
--- a/src/plugins/geoservices/mapbox/qgeoroutereplymapbox.cpp
+++ b/src/plugins/geoservices/mapbox/qgeoroutereplymapbox.cpp
@@ -155,7 +155,7 @@ void QGeoRouteReplyMapbox::networkReplyFinished()
void QGeoRouteReplyMapbox::networkReplyError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = static_cast<QNetworkReply *>(sender());
reply->deleteLater();
setError(QGeoRouteReply::CommunicationError, reply->errorString());
diff --git a/src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp b/src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp
index 56678a45..4fb8cd1d 100644
--- a/src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp
+++ b/src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp
@@ -264,7 +264,7 @@ QPlaceReply *QPlaceManagerEngineMapbox::initializeCategories()
QString QPlaceManagerEngineMapbox::parentCategoryId(const QString &categoryId) const
{
- Q_UNUSED(categoryId)
+ Q_UNUSED(categoryId);
// Only a single category level.
return QString();
diff --git a/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp b/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp
index b2f2f043..8d34d2ec 100644
--- a/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp
+++ b/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp
@@ -222,7 +222,7 @@ void QPlaceSearchReplyMapbox::onReplyFinished()
void QPlaceSearchReplyMapbox::onNetworkError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = static_cast<QNetworkReply *>(sender());
reply->deleteLater();
setError(CommunicationError, reply->errorString());
diff --git a/src/plugins/geoservices/mapbox/qplacesearchsuggestionreplymapbox.cpp b/src/plugins/geoservices/mapbox/qplacesearchsuggestionreplymapbox.cpp
index 23d76175..8c0bfdc1 100644
--- a/src/plugins/geoservices/mapbox/qplacesearchsuggestionreplymapbox.cpp
+++ b/src/plugins/geoservices/mapbox/qplacesearchsuggestionreplymapbox.cpp
@@ -111,7 +111,7 @@ void QPlaceSearchSuggestionReplyMapbox::onReplyFinished()
void QPlaceSearchSuggestionReplyMapbox::onNetworkError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = static_cast<QNetworkReply *>(sender());
reply->deleteLater();
setError(CommunicationError, reply->errorString());
diff --git a/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp b/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
index afa723a5..dfc0be0b 100644
--- a/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
+++ b/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
@@ -49,9 +49,9 @@ QGeoServiceProviderFactoryMapboxGL::QGeoServiceProviderFactoryMapboxGL()
QGeoCodingManagerEngine *QGeoServiceProviderFactoryMapboxGL::createGeocodingManagerEngine(
const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
{
- Q_UNUSED(parameters)
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(parameters);
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
return 0;
}
@@ -65,9 +65,9 @@ QGeoMappingManagerEngine *QGeoServiceProviderFactoryMapboxGL::createMappingManag
QGeoRoutingManagerEngine *QGeoServiceProviderFactoryMapboxGL::createRoutingManagerEngine(
const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
{
- Q_UNUSED(parameters)
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(parameters);
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
return 0;
}
@@ -75,9 +75,9 @@ QGeoRoutingManagerEngine *QGeoServiceProviderFactoryMapboxGL::createRoutingManag
QPlaceManagerEngine *QGeoServiceProviderFactoryMapboxGL::createPlaceManagerEngine(
const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
{
- Q_UNUSED(parameters)
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(parameters);
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
return 0;
}
diff --git a/src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp b/src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp
index 0fb6eb2a..2a8549ff 100644
--- a/src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp
+++ b/src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp
@@ -99,7 +99,7 @@ void QGeoCodeReplyNokia::networkFinished()
void QGeoCodeReplyNokia::networkError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = qobject_cast<QNetworkReply *>(sender());
reply->deleteLater();
@@ -118,7 +118,7 @@ void QGeoCodeReplyNokia::appendResults(const QList<QGeoLocation> &locations)
void QGeoCodeReplyNokia::parseError(const QString &errorString)
{
- Q_UNUSED(errorString)
+ Q_UNUSED(errorString);
setError(QGeoCodeReply::ParseError,
QCoreApplication::translate(NOKIA_PLUGIN_CONTEXT_NAME, RESPONSE_NOT_RECOGNIZABLE));
diff --git a/src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp b/src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp
index b5fdfee1..941a0200 100644
--- a/src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp
+++ b/src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp
@@ -119,7 +119,7 @@ void QGeoRouteReplyNokia::appendResults(const QList<QGeoRoute> &routes)
void QGeoRouteReplyNokia::parserError(const QString &errorString)
{
- Q_UNUSED(errorString)
+ Q_UNUSED(errorString);
emit aborted();
setError(QGeoRouteReply::ParseError,
QCoreApplication::translate(NOKIA_PLUGIN_CONTEXT_NAME, RESPONSE_NOT_RECOGNIZABLE));
diff --git a/src/plugins/geoservices/nokia/qgeouriprovider.cpp b/src/plugins/geoservices/nokia/qgeouriprovider.cpp
index cef3d484..7be90bb2 100644
--- a/src/plugins/geoservices/nokia/qgeouriprovider.cpp
+++ b/src/plugins/geoservices/nokia/qgeouriprovider.cpp
@@ -84,8 +84,8 @@ void QGeoUriProvider::setCurrentHost(const QString &host)
void QGeoUriProvider::mobileCountryCodeChanged(int interfaceId, const QString& mcc)
{
- Q_UNUSED(interfaceId)
- Q_UNUSED(mcc)
+ Q_UNUSED(interfaceId);
+ Q_UNUSED(mcc);
setCurrentHost(isInternationalNetwork() || m_localizedHost.isEmpty() ? m_internationalHost : m_localizedHost);
}
diff --git a/src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp b/src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp
index 5094b72e..3b507ff2 100644
--- a/src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp
+++ b/src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp
@@ -556,7 +556,7 @@ QPlaceIdReply *QPlaceManagerEngineNokiaV2::removePlace(const QString &placeId)
QPlaceIdReply *QPlaceManagerEngineNokiaV2::saveCategory(const QPlaceCategory &category, const QString &parentId)
{
- Q_UNUSED(parentId)
+ Q_UNUSED(parentId);
QPlaceIdReplyImpl *reply = new QPlaceIdReplyImpl(QPlaceIdReply::SaveCategory, this);
reply->setId(category.categoryId());
@@ -735,7 +735,7 @@ QPlaceIcon QPlaceManagerEngineNokiaV2::icon(const QString &remotePath,
QUrl QPlaceManagerEngineNokiaV2::constructIconUrl(const QPlaceIcon &icon,
const QSize &size) const
{
- Q_UNUSED(size)
+ Q_UNUSED(size);
QVariantMap params = icon.parameters();
QString nokiaIcon = params.value(NokiaIcon).toString();
diff --git a/src/plugins/geoservices/osm/qgeocodereplyosm.cpp b/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
index e6a487ba..885ba397 100644
--- a/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
+++ b/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
@@ -190,7 +190,7 @@ void QGeoCodeReplyOsm::networkReplyFinished()
void QGeoCodeReplyOsm::networkReplyError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = static_cast<QNetworkReply *>(sender());
reply->deleteLater();
setError(QGeoCodeReply::CommunicationError, reply->errorString());
diff --git a/src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp b/src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp
index b2744551..85554c76 100644
--- a/src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp
+++ b/src/plugins/geoservices/osm/qgeocodingmanagerengineosm.cpp
@@ -106,7 +106,7 @@ QGeoCodeReply *QGeoCodingManagerEngineOsm::geocode(const QGeoAddress &address, c
QGeoCodeReply *QGeoCodingManagerEngineOsm::geocode(const QString &address, int limit, int offset, const QGeoShape &bounds)
{
- Q_UNUSED(offset)
+ Q_UNUSED(offset);
QNetworkRequest request;
request.setRawHeader("User-Agent", m_userAgent);
@@ -148,7 +148,7 @@ QGeoCodeReply *QGeoCodingManagerEngineOsm::geocode(const QString &address, int l
QGeoCodeReply *QGeoCodingManagerEngineOsm::reverseGeocode(const QGeoCoordinate &coordinate,
const QGeoShape &bounds)
{
- Q_UNUSED(bounds)
+ Q_UNUSED(bounds);
QNetworkRequest request;
request.setRawHeader("User-Agent", m_userAgent);
diff --git a/src/plugins/geoservices/osm/qgeofiletilecacheosm.cpp b/src/plugins/geoservices/osm/qgeofiletilecacheosm.cpp
index d79702cf..3bb1ea7b 100644
--- a/src/plugins/geoservices/osm/qgeofiletilecacheosm.cpp
+++ b/src/plugins/geoservices/osm/qgeofiletilecacheosm.cpp
@@ -82,7 +82,7 @@ QSharedPointer<QGeoTileTexture> QGeoFileTileCacheOsm::get(const QGeoTileSpec &sp
void QGeoFileTileCacheOsm::onProviderResolutionFinished(const QGeoTileProviderOsm *provider)
{
clearObsoleteTiles(provider);
- Q_UNUSED(provider)
+ Q_UNUSED(provider);
for (int i = 0; i < m_providers.size(); i++) {
if (m_providers[i]->isHighDpi() != m_highDpi[i]) { // e.g., HiDpi was requested but only LoDpi is available
int mapId = m_providers[i]->mapType().mapId();
@@ -103,7 +103,7 @@ void QGeoFileTileCacheOsm::onProviderResolutionFinished(const QGeoTileProviderOs
// Hardcoded fallbacks also have a timestamp, that can get updated with Qt releases.
void QGeoFileTileCacheOsm::onProviderResolutionError(const QGeoTileProviderOsm *provider, QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
clearObsoleteTiles(provider); // this still removes tiles who happen to be older than qgeotileproviderosm.cpp defaultTs
}
diff --git a/src/plugins/geoservices/osm/qgeoroutereplyosm.cpp b/src/plugins/geoservices/osm/qgeoroutereplyosm.cpp
index af2a03b1..e60dc068 100644
--- a/src/plugins/geoservices/osm/qgeoroutereplyosm.cpp
+++ b/src/plugins/geoservices/osm/qgeoroutereplyosm.cpp
@@ -94,7 +94,7 @@ void QGeoRouteReplyOsm::networkReplyFinished()
void QGeoRouteReplyOsm::networkReplyError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = static_cast<QNetworkReply *>(sender());
reply->deleteLater();
setError(QGeoRouteReply::CommunicationError, reply->errorString());
diff --git a/src/plugins/geoservices/osm/qgeotileproviderosm.cpp b/src/plugins/geoservices/osm/qgeotileproviderosm.cpp
index f7ab8c99..c0837024 100644
--- a/src/plugins/geoservices/osm/qgeotileproviderosm.cpp
+++ b/src/plugins/geoservices/osm/qgeotileproviderosm.cpp
@@ -183,7 +183,7 @@ void QGeoTileProviderOsm::disableRedirection()
void QGeoTileProviderOsm::onResolutionFinished(TileProvider *provider)
{
- Q_UNUSED(provider)
+ Q_UNUSED(provider);
// provider and m_provider are the same, at this point. m_status is Resolving.
m_status = Resolved;
emit resolutionFinished(this);
@@ -191,7 +191,7 @@ void QGeoTileProviderOsm::onResolutionFinished(TileProvider *provider)
void QGeoTileProviderOsm::onResolutionError(TileProvider *provider)
{
- Q_UNUSED(provider)
+ Q_UNUSED(provider);
// provider and m_provider are the same at this point. m_status is Resolving.
if (!m_provider || m_provider->isInvalid()) {
m_provider = nullptr;
diff --git a/src/plugins/geoservices/osm/qplacemanagerengineosm.cpp b/src/plugins/geoservices/osm/qplacemanagerengineosm.cpp
index be66414f..80964d35 100644
--- a/src/plugins/geoservices/osm/qplacemanagerengineosm.cpp
+++ b/src/plugins/geoservices/osm/qplacemanagerengineosm.cpp
@@ -220,7 +220,7 @@ QPlaceReply *QPlaceManagerEngineOsm::initializeCategories()
QString QPlaceManagerEngineOsm::parentCategoryId(const QString &categoryId) const
{
- Q_UNUSED(categoryId)
+ Q_UNUSED(categoryId);
// Only a two category levels
return QString();
diff --git a/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp b/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
index 80c50d1b..d65b0735 100644
--- a/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
+++ b/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
@@ -165,7 +165,7 @@ void QPlaceSearchReplyOsm::replyFinished()
void QPlaceSearchReplyOsm::networkError(QNetworkReply::NetworkError error)
{
- Q_UNUSED(error)
+ Q_UNUSED(error);
QNetworkReply *reply = static_cast<QNetworkReply *>(sender());
reply->deleteLater();
setError(QPlaceReply::CommunicationError, reply->errorString());