diff options
author | jan Iversen <jani@apache.org> | 2018-09-06 17:13:48 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-06 17:14:48 -0700 |
commit | 12fc3f17478dedd7acf8cca3e714142c24509f45 (patch) | |
tree | 21a4eb614b0d2a6a959da35f105d3aa9f57ff0c8 /core/settings/qPrefCloudStorage.cpp | |
parent | e71b049498eaae05f7686445be320e90ca2f630e (diff) | |
download | subsurface-12fc3f17478dedd7acf8cca3e714142c24509f45.tar.gz |
Revert "core/tests: add loadFromCloud var to qPrefCloudStorage"
This reverts commit b7a1bb670ce11b22e52361f4152b4853b97e13f5.
Signed-off-by: Jan Iversen <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/settings/qPrefCloudStorage.cpp')
-rw-r--r-- | core/settings/qPrefCloudStorage.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/core/settings/qPrefCloudStorage.cpp b/core/settings/qPrefCloudStorage.cpp index dc12ad633..5571f709f 100644 --- a/core/settings/qPrefCloudStorage.cpp +++ b/core/settings/qPrefCloudStorage.cpp @@ -7,6 +7,7 @@ static const QString group = QStringLiteral("CloudStorage"); qPrefCloudStorage::qPrefCloudStorage(QObject *parent) : QObject(parent) { } + qPrefCloudStorage *qPrefCloudStorage::instance() { static qPrefCloudStorage *self = new qPrefCloudStorage; @@ -113,12 +114,3 @@ void qPrefCloudStorage::disk_userid(bool doSync) } } } - -bool qPrefCloudStorage::loadFromCloud(const QString& email) -{ - return qPrefPrivate::propValue(QString("loadFromCloud") + email, false).toBool(); -} -void qPrefCloudStorage::set_loadFromCloud(const QString& email, bool done) -{ - qPrefPrivate::propSetValue(QString("loadFromCloud") + email, done, ""); -} |