summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefDivePlanner.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/qPrefDivePlanner.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/qPrefDivePlanner.h')
-rw-r--r--core/settings/qPrefDivePlanner.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/settings/qPrefDivePlanner.h b/core/settings/qPrefDivePlanner.h
index 7a75fa4ce..85b2dbac1 100644
--- a/core/settings/qPrefDivePlanner.h
+++ b/core/settings/qPrefDivePlanner.h
@@ -36,7 +36,6 @@ class qPrefDivePlanner : public QObject {
Q_PROPERTY(bool verbatim_plan READ verbatim_plan WRITE set_verbatim_plan NOTIFY verbatim_planChanged);
public:
- qPrefDivePlanner(QObject *parent = NULL);
static qPrefDivePlanner *instance();
// Load/Sync local settings (disk) and struct preference
@@ -135,6 +134,8 @@ signals:
void verbatim_planChanged(bool value);
private:
+ qPrefDivePlanner() {}
+
static void disk_ascratelast6m(bool doSync);
static void disk_ascratestops(bool doSync);
static void disk_ascrate50(bool doSync);