aboutsummaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefCloudStorage.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-14 12:25:18 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-05 11:48:26 -0800
commit653a2baf111284171f0a2d25d6d9a0e82979f6d1 (patch)
tree65019f3ad9945216a8ca2c58ac4e681b32048f63 /core/settings/qPrefCloudStorage.h
parent6e846eb4c0c5755ddddbd696aeb6531eab5488d8 (diff)
downloadsubsurface-653a2baf111284171f0a2d25d6d9a0e82979f6d1.tar.gz
core/settings: make qPref* constructors private
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefCloudStorage.h')
-rw-r--r--core/settings/qPrefCloudStorage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/settings/qPrefCloudStorage.h b/core/settings/qPrefCloudStorage.h
index 841005b76..2d528fbfb 100644
--- a/core/settings/qPrefCloudStorage.h
+++ b/core/settings/qPrefCloudStorage.h
@@ -19,7 +19,6 @@ class qPrefCloudStorage : public QObject {
Q_PROPERTY(bool save_password_local READ save_password_local WRITE set_save_password_local NOTIFY save_password_localChanged);
public:
- qPrefCloudStorage(QObject *parent = NULL);
static qPrefCloudStorage *instance();
// Load/Sync local settings (disk) and struct preference
@@ -71,6 +70,8 @@ signals:
void save_password_localChanged(bool value);
private:
+ qPrefCloudStorage() {}
+
// functions to load/sync variable with disk
static void disk_cloud_auto_sync(bool doSync);
static void disk_cloud_base_url(bool doSync);