aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-07 16:55:29 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 16:45:16 -0800
commit9d4429c212c4be0c8932e9656a0429519a4b67da (patch)
treedbbee67ce22aa471ddedf1a6fde00efe50121560 /subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
parente64f13104d0292d3254c2a8d0441ce4f347e2505 (diff)
downloadsubsurface-9d4429c212c4be0c8932e9656a0429519a4b67da.tar.gz
Silence warnings in SettingsObjectWrapper.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r--subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp b/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
index 22d9a09d8..e43be1a9b 100644
--- a/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -434,6 +434,7 @@ void TechnicalDetailsSettings::setShowAverageDepth(bool value)
FacebookSettings::FacebookSettings(QObject *parent) :
+ QObject(parent),
group(QStringLiteral("WebApps")),
subgroup(QStringLiteral("Facebook"))
{
@@ -492,6 +493,7 @@ void FacebookSettings::setAlbumId(const QString& value)
GeocodingPreferences::GeocodingPreferences(QObject *parent) :
+ QObject(parent),
group(QStringLiteral("geocoding"))
{
@@ -582,6 +584,7 @@ void GeocodingPreferences::setThirdTaxonomyCategory(taxonomy_category value)
}
ProxySettings::ProxySettings(QObject *parent) :
+ QObject(parent),
group(QStringLiteral("Network"))
{
}
@@ -674,6 +677,7 @@ void ProxySettings::setPass(const QString& value)
}
CloudStorageSettings::CloudStorageSettings(QObject *parent) :
+ QObject(parent),
group(QStringLiteral("CloudStorage"))
{
@@ -1597,6 +1601,7 @@ QObject(parent),
void SettingsObjectWrapper::setSaveUserIdLocal(short int value)
{
+ Q_UNUSED(value);
//TODO: Find where this is stored on the preferences.
}