summaryrefslogtreecommitdiffstats
path: root/backend-shared
diff options
context:
space:
mode:
Diffstat (limited to 'backend-shared')
-rw-r--r--backend-shared/plannershared.cpp6
-rw-r--r--backend-shared/plannershared.h5
2 files changed, 0 insertions, 11 deletions
diff --git a/backend-shared/plannershared.cpp b/backend-shared/plannershared.cpp
index d35c1e676..a83a3bd56 100644
--- a/backend-shared/plannershared.cpp
+++ b/backend-shared/plannershared.cpp
@@ -6,12 +6,6 @@
#include "qt-models/diveplannermodel.h"
#include "qt-models/cylindermodel.h"
-plannerShared *plannerShared::instance()
-{
- static plannerShared *self = new plannerShared;
- return self;
-}
-
// Planning values
deco_mode plannerShared::planner_deco_mode()
{
diff --git a/backend-shared/plannershared.h b/backend-shared/plannershared.h
index 39acf98db..d3e9f9fe4 100644
--- a/backend-shared/plannershared.h
+++ b/backend-shared/plannershared.h
@@ -16,8 +16,6 @@ class plannerShared: public QObject {
Q_OBJECT
public:
- static plannerShared *instance();
-
// Planning data
static deco_mode planner_deco_mode();
static int reserve_gas();
@@ -53,9 +51,6 @@ public slots:
static void set_bottompo2(double value);
static void set_decopo2(double value);
static void set_bestmixend(int value);
-
-private:
- plannerShared() {}
};
#endif // PLANNERSHARED_H