summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-25 20:16:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-25 20:16:16 -0700
commita8cdc30dbf393c3ab4c9da36f897cd275e67c1de (patch)
tree3f5b96baa5f5a6ee48c6abe1bc542493511e20b3 /qt-ui/models.h
parent81e27b6db9aba39dd80d7c9ec5ae6e01d5966075 (diff)
downloadsubsurface-a8cdc30dbf393c3ab4c9da36f897cd275e67c1de.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r--qt-ui/models.h4
1 files changed, 2 insertions, 2 deletions
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};