From 9d4429c212c4be0c8932e9656a0429519a4b67da Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 7 Mar 2016 16:55:29 -0300 Subject: Silence warnings in SettingsObjectWrapper.cpp Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'subsurface-core/subsurface-qt/SettingsObjectWrapper.cpp') 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. } -- cgit v1.2.3-70-g09d2