diff options
author | 2019-12-20 17:08:42 +0100 | |
---|---|---|
committer | 2019-12-24 10:24:41 -0800 | |
commit | 48bae80577e977fb1f3558e228c0162efdb365ed (patch) | |
tree | 87658b13578d993363988d03cf01c63b1518a47e /mobile-widgets/qmlprefs.cpp | |
parent | 5af7727ad037e4291e2e7f05684cc1c91ae8edd7 (diff) | |
download | subsurface-48bae80577e977fb1f3558e228c0162efdb365ed.tar.gz |
mobile UI/login: remove cloudPassword from QMLPrefs
cloudPassword is no longer used as a temporary variable
Remove cloudPassword from QMLPrefs.
Signed-off-by: Jan Iversen <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlprefs.cpp')
-rw-r--r-- | mobile-widgets/qmlprefs.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp index 96b3f1366..7c73b26de 100644 --- a/mobile-widgets/qmlprefs.cpp +++ b/mobile-widgets/qmlprefs.cpp @@ -33,17 +33,6 @@ QMLPrefs *QMLPrefs::instance() /*** public functions ***/ -const QString QMLPrefs::cloudPassword() const -{ - return m_cloudPassword; -} - -void QMLPrefs::setCloudPassword(const QString &cloudPassword) -{ - m_cloudPassword = cloudPassword; - emit cloudPasswordChanged(); -} - const QString QMLPrefs::cloudPin() const { return m_cloudPin; @@ -130,6 +119,6 @@ void QMLPrefs::cancelCredentialsPinSetup() void QMLPrefs::clearCredentials() { qPrefCloudStorage::set_cloud_storage_email(NULL); - setCloudPassword(NULL); + qPrefCloudStorage::set_cloud_storage_password(NULL); setCloudPin(NULL); } |