summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefUnit.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPrefUnit.h')
-rw-r--r--core/settings/qPrefUnit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/settings/qPrefUnit.h b/core/settings/qPrefUnit.h
index 737d7814a..0594b4f69 100644
--- a/core/settings/qPrefUnit.h
+++ b/core/settings/qPrefUnit.h
@@ -20,7 +20,6 @@ class qPrefUnits : public QObject {
Q_PROPERTY(units::WEIGHT weight READ weight WRITE set_weight NOTIFY weightChanged);
public:
- qPrefUnits(QObject *parent = NULL);
static qPrefUnits *instance();
// Load/Sync local settings (disk) and struct preference
@@ -65,6 +64,8 @@ signals:
void weightChanged(int value);
private:
+ qPrefUnits() {}
+
static void disk_coordinates_traditional(bool doSync);
static void disk_duration_units(bool doSync);
static void disk_length(bool doSync);