summaryrefslogtreecommitdiffstats
path: root/core/gpslocation.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-21 17:36:04 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-21 12:48:04 -0700
commita312e53f0ce47dd2797070dff37e51fbfafd489a (patch)
treebb603a4ffafc2dea632a587e6cc5b7cdb91f73ca /core/gpslocation.cpp
parent034f9a6ca2eabcc4714214ca07207509b00e39a2 (diff)
downloadsubsurface-a312e53f0ce47dd2797070dff37e51fbfafd489a.tar.gz
core: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/gpslocation.cpp')
-rw-r--r--core/gpslocation.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/gpslocation.cpp b/core/gpslocation.cpp
index 2fcb9f1b0..7b68c68f0 100644
--- a/core/gpslocation.cpp
+++ b/core/gpslocation.cpp
@@ -466,15 +466,13 @@ void GpsLocation::clearGpsData()
}
#endif
-void GpsLocation::postError(QNetworkReply::NetworkError error)
+void GpsLocation::postError(QNetworkReply::NetworkError)
{
- Q_UNUSED(error);
status(QString("error when sending a GPS fix: %1").arg(reply->errorString()));
}
-void GpsLocation::getUseridError(QNetworkReply::NetworkError error)
+void GpsLocation::getUseridError(QNetworkReply::NetworkError)
{
- Q_UNUSED(error);
status(QString("error when retrieving Subsurface webservice user id: %1").arg(reply->errorString()));
}