summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefDiveComputer.cpp
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/qPrefDiveComputer.cpp
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/qPrefDiveComputer.cpp')
-rw-r--r--core/settings/qPrefDiveComputer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/settings/qPrefDiveComputer.cpp b/core/settings/qPrefDiveComputer.cpp
index 6e9cc45f1..c19f56c18 100644
--- a/core/settings/qPrefDiveComputer.cpp
+++ b/core/settings/qPrefDiveComputer.cpp
@@ -4,10 +4,6 @@
static const QString group = QStringLiteral("DiveComputer");
-qPrefDiveComputer::qPrefDiveComputer(QObject *parent) : QObject(parent)
-{
-}
-
qPrefDiveComputer *qPrefDiveComputer::instance()
{
static qPrefDiveComputer *self = new qPrefDiveComputer;