aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-21 17:39:45 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-21 12:48:04 -0700
commit52031f0abaa87d09c56ecaf5872fa58572ecc9f9 (patch)
tree45a30cf3d7ca14cecaf389bca98cac87d56c21ec /core/subsurface-qt/SettingsObjectWrapper.cpp
parenta312e53f0ce47dd2797070dff37e51fbfafd489a (diff)
downloadsubsurface-52031f0abaa87d09c56ecaf5872fa58572ecc9f9.tar.gz
core/subsurface-qt: 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/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index aaa907759..d88df5cba 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -1139,9 +1139,8 @@ void CloudStorageSettings::setBaseUrl(const QString& value)
prefs.cloud_git_url = copy_qstring(QString(prefs.cloud_base_url) + "/git");
}
-void CloudStorageSettings::setGitUrl(const QString& value)
+void CloudStorageSettings::setGitUrl(const QString&)
{
- Q_UNUSED(value); /* no op */
}
void CloudStorageSettings::setGitLocalOnly(bool value)