From 653a2baf111284171f0a2d25d6d9a0e82979f6d1 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Fri, 14 Sep 2018 12:25:18 +0200 Subject: core/settings: make qPref* constructors private Signed-off-by: Jan Iversen --- core/settings/qPrefLocationService.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/settings/qPrefLocationService.h') diff --git a/core/settings/qPrefLocationService.h b/core/settings/qPrefLocationService.h index 6fdca8385..c2c9c8bae 100644 --- a/core/settings/qPrefLocationService.h +++ b/core/settings/qPrefLocationService.h @@ -12,7 +12,6 @@ class qPrefLocationService : public QObject { Q_PROPERTY(int time_threshold READ time_threshold WRITE set_time_threshold NOTIFY time_thresholdChanged); public: - qPrefLocationService(QObject *parent = NULL); static qPrefLocationService *instance(); // Load/Sync local settings (disk) and struct preference @@ -34,6 +33,8 @@ signals: private: + qPrefLocationService() {} + static void disk_distance_threshold(bool doSync); static void disk_time_threshold(bool doSync); }; -- cgit v1.2.3-70-g09d2