diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-11-28 09:17:30 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-28 15:28:15 -0800 |
commit | 3264255a7a2466f1a7d093cf3c26ae564e846472 (patch) | |
tree | 072fcd2db06419a82d8e2f67c91379e5b14235b7 /qt-ui/models.h | |
parent | c1102a38f359b9c155183a39fb059870d63e1d6d (diff) | |
download | subsurface-3264255a7a2466f1a7d093cf3c26ae564e846472.tar.gz |
Make it possible to hide some columns on the Cylinders Equipment pane.
This patch makes it possible to hide some columns on the Cylinders
Equipment pane. The 'remove' and 'type' are impossible to hide,
since they are the most important ones for a non-tech diver.
Fixes #281
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r-- | qt-ui/models.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h index d7b2eedd2..9dd7b2bf6 100644 --- a/qt-ui/models.h +++ b/qt-ui/models.h @@ -80,7 +80,7 @@ private: class CylindersModel : public CleanerTableModel { Q_OBJECT public: - enum Column {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, DEPTH}; + enum Column {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, DEPTH, COLUMNS}; explicit CylindersModel(QObject* parent = 0); static CylindersModel *instance(); |