diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-06 10:48:53 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-01-06 10:42:44 -0800 |
commit | 97127e165292c9a2171b7812e3adc2336e67c21d (patch) | |
tree | 1760dafbd4e6cf128eeb7184a3ac2024028e2318 /desktop-widgets | |
parent | b0fc718f65e5c0e3ee624f472722d2549674cd69 (diff) | |
download | subsurface-97127e165292c9a2171b7812e3adc2336e67c21d.tar.gz |
Do not save WebserviceID in preferences until asked for
Do not save the WebserviceID in the preferences until we ask
for this. That is simply wrong.
This is definitely not a full fix for all the weirdness that is
going in related to the WebserviceID but saving the ID even
if we do not ask for it, adds to possible confusion.
To always automatically pull in the ID from the server based
on cloud credentials, just leave the ID field empty in the
network preferences.
Fixes: #1013 (well ... a tiny part of this mess)
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/subsurfacewebservices.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index 94ba9797f..c665ea78b 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -336,8 +336,6 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton *button) if (!d_eq_f || s_eq_d) s.setValue("subsurface_webservice_uid", qDialogUid); set_userid(qDialogUid.toLocal8Bit().data()); - } else { - s.setValue("subsurface_webservice_uid", qDialogUid); } s.sync(); hide(); |