summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
deleted file mode 100644
index 72f2ba44d..000000000
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#include "SettingsObjectWrapper.h"
-#include <QSettings>
-#include <QApplication>
-#include <QFont>
-#include <QDate>
-
-#include "core/qthelper.h"
-#include "core/prefs-macros.h"
-
-
-SettingsObjectWrapper::SettingsObjectWrapper(QObject* parent):
-QObject(parent),
- techDetails(new qPrefTechnicalDetails(this)),
- pp_gas(new qPrefPartialPressureGas(this)),
- facebook(new qPrefFacebook(this)),
- geocoding(new qPrefGeocoding(this)),
- proxy(new qPrefProxy(this)),
- cloud_storage(new qPrefCloudStorage(this)),
- planner_settings(new qPrefDivePlanner(this)),
- unit_settings(new qPrefUnits(this)),
- general_settings(new qPrefGeneral(this)),
- display_settings(new qPrefDisplay(this)),
- language_settings(new qPrefLanguage(this)),
- animation_settings(new qPrefAnimations(this)),
- location_settings(new qPrefLocationService(this)),
- update_manager_settings(new qPrefUpdateManager(this)),
- dive_computer_settings(new qPrefDiveComputer(this))
-{
-}
-
-SettingsObjectWrapper* SettingsObjectWrapper::instance()
-{
- static SettingsObjectWrapper settings;
- return &settings;
-}