summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-28 07:27:59 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-28 07:27:59 -0300
commitcfd17116ebe24ab547a9d375c6c47a260d6d8294 (patch)
tree0eb46510bdd00a9c3d49b387c03b60ea45ed63c1 /qt-ui/diveplanner.h
parent65ab2369488a2526fbadd156ef92ab4fd1d1d04a (diff)
downloadsubsurface-cfd17116ebe24ab547a9d375c6c47a260d6d8294.tar.gz
Added a 'remove' icon on the dive planner table.
Added a 'remove' icon on the dive planner table, this makes the ui more consistent between the other tables that also manages addition and removal of data. the delete method is still unimplemented. next - css. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 643a6a321..3cb3c7014 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -21,7 +21,7 @@ class DivePlannerPointsModel : public QAbstractTableModel{
Q_OBJECT
public:
static DivePlannerPointsModel* instance();
- enum Sections{DEPTH, DURATION, GAS, CCSETPOINT, COLUMNS};
+ enum Sections{REMOVE, DEPTH, DURATION, GAS, CCSETPOINT, COLUMNS};
virtual int columnCount(const QModelIndex& parent = QModelIndex()) const;
virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
virtual int rowCount(const QModelIndex& parent = QModelIndex()) const;