summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefGeocoding.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/qPrefGeocoding.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/qPrefGeocoding.h')
-rw-r--r--core/settings/qPrefGeocoding.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/settings/qPrefGeocoding.h b/core/settings/qPrefGeocoding.h
index a47b534bc..81fc70f58 100644
--- a/core/settings/qPrefGeocoding.h
+++ b/core/settings/qPrefGeocoding.h
@@ -13,7 +13,6 @@ class qPrefGeocoding : public QObject {
Q_PROPERTY(taxonomy_category third_taxonomy_category READ third_taxonomy_category WRITE set_third_taxonomy_category NOTIFY third_taxonomy_categoryChanged);
public:
- qPrefGeocoding(QObject *parent = NULL);
static qPrefGeocoding *instance();
// Load/Sync local settings (disk) and struct preference
@@ -37,6 +36,8 @@ signals:
void third_taxonomy_categoryChanged(taxonomy_category value);
private:
+ qPrefGeocoding() {}
+
static void disk_first_taxonomy_category(bool doSync);
static void disk_second_taxonomy_category(bool doSync);
static void disk_third_taxonomy_category(bool doSync);