diff options
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r-- | qt-models/divelistmodel.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h index adda8b127..65c117212 100644 --- a/qt-models/divelistmodel.h +++ b/qt-models/divelistmodel.h @@ -62,9 +62,8 @@ public: QHash<int, QByteArray> roleNames() const; QString startAddDive(); void resetInternalData(); - Q_INVOKABLE DiveObjectHelper* at(int i); + Q_INVOKABLE DiveObjectHelper at(int i); private: - QList<DiveObjectHelper*> m_dives; static DiveListModel *m_instance; }; |