mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
ae653703a5
commit
2b3f6c607b
9 changed files with 4 additions and 45 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue