From dd1dc11cb60ec819d26ae198633546db780dec18 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 19 Aug 2014 22:15:59 -0500 Subject: Planner: don't show CC Set Point when planning dives So far we only plan OC dives, so let's not confuse things by showing the set point for the tank. Fixes #261 Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 589a2d1c2..8e87df0d5 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -587,7 +587,7 @@ bool DivePlannerPointsModel::recalcQ() int DivePlannerPointsModel::columnCount(const QModelIndex &parent) const { - return COLUMNS; + return COLUMNS - 1; // don't show CCSETPOINT until we can plan CC dives } QVariant DivePlannerPointsModel::data(const QModelIndex &index, int role) const -- cgit v1.2.3-70-g09d2