diff options
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r-- | qt-ui/models.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h index f212a18aa..de9aab5ce 100644 --- a/qt-ui/models.h +++ b/qt-ui/models.h @@ -192,7 +192,7 @@ public: enum Column {NR, DATE, RATING, DEPTH, DURATION, TEMPERATURE, TOTALWEIGHT, SUIT, CYLINDER, NITROX, SAC, OTU, MAXCNS, LOCATION, COLUMNS }; - enum ExtraRoles{STAR_ROLE = Qt::UserRole + 1, DIVE_ROLE, TRIP_ROLE, SORT_ROLE}; + enum ExtraRoles{STAR_ROLE = Qt::UserRole + 1, DIVE_ROLE, TRIP_ROLE, SORT_ROLE, DIVE_IDX}; enum Layout{TREE, LIST, CURRENT}; Qt::ItemFlags flags(const QModelIndex &index) const; @@ -200,8 +200,6 @@ public: DiveTripModel(QObject* parent = 0); Layout layout() const; void setLayout(Layout layout); - void deleteSelectedDives(); - private: void setupModelData(); QMap<dive_trip_t*, TripItem*> trips; |