summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprefs.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-27 14:43:19 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-28 08:34:56 -0800
commit3cca6b9e9b82e0cc5ac0be28b690645069862fdf (patch)
treeefe0a8921ef8eb22a27747961932b4ec032cdf09 /mobile-widgets/qmlprefs.cpp
parente3a9166f461372f29abca99f044a41664ce5dc52 (diff)
downloadsubsurface-3cca6b9e9b82e0cc5ac0be28b690645069862fdf.tar.gz
mobile-widgets: remove cloudPin from qmlprefs
cloudPin is no longer used, remove it. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlprefs.cpp')
-rw-r--r--mobile-widgets/qmlprefs.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp
index eaeab9ceb..f88c9a732 100644
--- a/mobile-widgets/qmlprefs.cpp
+++ b/mobile-widgets/qmlprefs.cpp
@@ -33,16 +33,6 @@ QMLPrefs *QMLPrefs::instance()
/*** public functions ***/
-const QString QMLPrefs::cloudPin() const
-{
- return m_cloudPin;
-}
-
-void QMLPrefs::setCloudPin(const QString &cloudPin)
-{
- m_cloudPin = cloudPin;
- emit cloudPinChanged();
-}
qPrefCloudStorage::cloud_status QMLPrefs::credentialStatus() const
{
@@ -58,7 +48,6 @@ void QMLPrefs::setCredentialStatus(const qPrefCloudStorage::cloud_status value)
set_filename(NOCLOUD_LOCALSTORAGE);
qPrefCloudStorage::set_cloud_storage_email(NULL);
qPrefCloudStorage::set_cloud_storage_password(NULL);
- setCloudPin(NULL);
if (qPrefUnits::unit_system() == "imperial")
prefs.units = IMPERIAL_units;
else if (qPrefUnits::unit_system() == "metric")