summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/osm
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices/osm')
-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
7 files changed, 10 insertions, 10 deletions
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());