From a8cdc30dbf393c3ab4c9da36f897cd275e67c1de Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 25 May 2013 20:16:16 -0700 Subject: We had an extra column in the model for the dive list It doesn't appear to be used anywhere, but it shows up in the UI and confuses things. Signed-off-by: Dirk Hohndel --- qt-ui/models.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/models.h b/qt-ui/models.h index ad909abe1..f51566c1b 100644 --- a/qt-ui/models.h +++ b/qt-ui/models.h @@ -63,7 +63,7 @@ private: class CylindersModel : public QAbstractTableModel { Q_OBJECT public: - enum Column {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, COLUMNS}; + enum Column {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, COLUMNS}; explicit CylindersModel(QObject* parent = 0); /*reimp*/ QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; @@ -122,7 +122,7 @@ struct TreeItemDT { Q_DECLARE_TR_FUNCTIONS (TreeItemDT); public: enum Column {NR, DATE, RATING, DEPTH, DURATION, TEMPERATURE, TOTALWEIGHT, - SUIT, CYLINDER, NITROX, SAC, OTU, MAXCNS, LOCATION, DIVE, COLUMNS }; + SUIT, CYLINDER, NITROX, SAC, OTU, MAXCNS, LOCATION, COLUMNS }; enum ExtraRoles{STAR_ROLE = Qt::UserRole + 1, DIVE_ROLE}; -- cgit v1.2.3-70-g09d2