summaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r--qt-models/divelistmodel.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h
index 19838f468..87c5bb254 100644
--- a/qt-models/divelistmodel.h
+++ b/qt-models/divelistmodel.h
@@ -46,7 +46,7 @@ public:
};
static DiveListModel *instance();
- DiveListModel(QObject *parent = 0);
+ DiveListModel();
void addDive(const QList<dive *> &listOfDives);
void addAllDives();
void insertDive(int i);
@@ -64,8 +64,6 @@ public:
void resetInternalData();
void clear(); // Clear all dives in core
Q_INVOKABLE DiveObjectHelper at(int i);
-private:
- static DiveListModel *m_instance;
};
#endif // DIVELISTMODEL_H