diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-27 11:28:42 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-27 15:12:41 -0700 |
commit | 7bed6e987319e60795db049fa2b87817e1badbdf (patch) | |
tree | 6d3b8c5347767f20195b31d7c3cb299d5ba8d54d /qt-ui/diveplanner.h | |
parent | d1cd1eb933418282942b5cdacd1df46b75729f44 (diff) | |
download | subsurface-7bed6e987319e60795db049fa2b87817e1badbdf.tar.gz |
Planner: use the gas in the first cylinder for initial plan
As Tomaz suggested, I don't need to pass the information whether we are on
the planner into the function - it's part of the DivePlannerPointsModel
and therefore already knows.
Also, we want to make sure we actually use the gas that's in the first
cylidner of the staging dive.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 781d7c741..4aa5f0094 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -39,7 +39,7 @@ public: void removeSelectedPoints(const QVector<int> &rows); void setPlanMode(Mode mode); bool isPlanner(); - void createSimpleDive(bool planner = false); + void createSimpleDive(); void clear(); Mode currentMode() const; bool setRecalc(bool recalc); |