summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefCloudStorage.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-10 06:49:14 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-10 16:26:49 -0700
commit2b3f6c607bf5eb7c6b24160832ba83ed60dca543 (patch)
treeba38e074a9fbad112dab25616a804e17e7b248ff /core/settings/qPrefCloudStorage.cpp
parentae653703a5d3ff1da84053d4542420fc70325c5f (diff)
downloadsubsurface-2b3f6c607bf5eb7c6b24160832ba83ed60dca543.tar.gz
prefs: cloud_new_password is not a preference
It's a mamber of the cloud storage authentication class, used to hold the proposed new password until the backend has accepted it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/settings/qPrefCloudStorage.cpp')
-rw-r--r--core/settings/qPrefCloudStorage.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/settings/qPrefCloudStorage.cpp b/core/settings/qPrefCloudStorage.cpp
index 4576de6fb..ff9ad2553 100644
--- a/core/settings/qPrefCloudStorage.cpp
+++ b/core/settings/qPrefCloudStorage.cpp
@@ -56,17 +56,6 @@ HANDLE_PREFERENCE_TXT(CloudStorage, "email", cloud_storage_email);
HANDLE_PREFERENCE_TXT(CloudStorage, "email_encoded", cloud_storage_email_encoded);
-void qPrefCloudStorage::set_cloud_storage_newpassword(const QString &value)
-{
- if (value == prefs.cloud_storage_newpassword)
- return;
-
- qPrefPrivate::copy_txt(&prefs.cloud_storage_newpassword, value);
-
- // NOT saved on disk, because it is only temporary
- emit instance()->cloud_storage_newpassword_changed(value);
-}
-
void qPrefCloudStorage::set_cloud_storage_password(const QString &value)
{
if (value != prefs.cloud_storage_password) {