From 20a64642c1c4a535b750e8b86435141ca432b050 Mon Sep 17 00:00:00 2001 From: Jesus Fernandez Date: Tue, 22 Jan 2019 15:45:20 +0100 Subject: Unify semicolon usage in Q_UNUSED Change-Id: I36dd6881b6f6f028869d63b6311cba7f52a99cc4 Reviewed-by: Paolo Angelelli --- src/plugins/geoservices/nokia/qgeocodereply_nokia.cpp | 4 ++-- src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp | 2 +- src/plugins/geoservices/nokia/qgeouriprovider.cpp | 4 ++-- src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/plugins/geoservices/nokia') 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(sender()); reply->deleteLater(); @@ -118,7 +118,7 @@ void QGeoCodeReplyNokia::appendResults(const QList &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 &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(); -- cgit v1.2.1