diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-08-26 15:17:49 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-08-27 11:40:45 -0700 |
commit | 12eccda523da4e25a29aaaae441acfc5ad7825d1 (patch) | |
tree | 327a0abdedff513d483b9ceceaa707aad4767631 /desktop-widgets/subsurfacewebservices.cpp | |
parent | 5651abfd75f3b3bde45841a8ce4650ae64d9390a (diff) | |
download | subsurface-12eccda523da4e25a29aaaae441acfc5ad7825d1.tar.gz |
Settings update: Fix Facebook Widget to use the SettingsObjectWrapper
Fix facebook widget to use the SettingsObjectWrapper instead
of figthing our complementary Settings each call.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r-- | desktop-widgets/subsurfacewebservices.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index 74868d2bd..312e82314 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -438,6 +438,7 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton *button) bool qSaveUid = ui.saveUidLocal->checkState(); SettingsObjectWrapper::instance()->cloud_storage->setSaveUserIdLocal(qSaveUid); + //WARN: Dirk, this seems to be wrong, I coundn't really understand the code. if (qSaveUid) { QString qSettingUid = s.value("subsurface_webservice_uid").toString(); QString qFileUid = QString(prefs.userid); @@ -758,6 +759,7 @@ DivelogsDeWebServices::DivelogsDeWebServices(QWidget *parent, Qt::WindowFlags f) multipart(NULL), uploadMode(false) { + //FIXME: DivelogDE user and pass should be on the prefs struct or something? QSettings s; ui.userID->setText(s.value("divelogde_user").toString()); ui.password->setText(s.value("divelogde_pass").toString()); |