aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-25 15:28:55 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-26 13:19:35 -0700
commit660235c9b7cc719f3ba11c2eecceec18fab3cb54 (patch)
treebe7d565af290caa0ce3503fab05c353952a3fda2 /qt-ui/diveplanner.h
parenteec0b327a3bb5f2d27594693d79a5bc86439c1e2 (diff)
downloadsubsurface-660235c9b7cc719f3ba11c2eecceec18fab3cb54.tar.gz
Planner: Don't include the ascent in the default dive
Allow to both create the full default dive or ownly the descent and bottom part (so the planner can deal with the ascent). Signed-off-by: Dirk Hohndel <dirk@hohndel.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 4aa5f0094..781d7c741 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();
+ void createSimpleDive(bool planner = false);
void clear();
Mode currentMode() const;
bool setRecalc(bool recalc);