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/qPrefGeneral.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/settings/qPrefGeneral.h') diff --git a/core/settings/qPrefGeneral.h b/core/settings/qPrefGeneral.h index ec264203b..e851be97d 100644 --- a/core/settings/qPrefGeneral.h +++ b/core/settings/qPrefGeneral.h @@ -26,7 +26,6 @@ class qPrefGeneral : public QObject { public: - qPrefGeneral(QObject *parent = NULL); static qPrefGeneral *instance(); // Load/Sync local settings (disk) and struct preference @@ -90,6 +89,8 @@ signals: void extraEnvironmentalDefaultChanged(bool value); private: + qPrefGeneral() {} + static void disk_auto_recalculate_thumbnails(bool doSync); static void disk_default_cylinder(bool doSync); static void disk_default_filename(bool doSync); -- cgit v1.2.3-70-g09d2