diff options
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r-- | qt-models/divetripmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h index fc17aff92..32a656bfe 100644 --- a/qt-models/divetripmodel.h +++ b/qt-models/divetripmodel.h @@ -93,6 +93,7 @@ public: CURRENT }; + static DiveTripModel *instance(); Qt::ItemFlags flags(const QModelIndex &index) const; QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); @@ -102,7 +103,6 @@ public: private: void setupModelData(); - QMap<dive_trip_t *, TripItem *> trips; Layout currentLayout; }; |