summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/nokia
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/nokia
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/nokia')
-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
4 files changed, 7 insertions, 7 deletions
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();