diff options
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r-- | qt-ui/diveplanner.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 36cd7f144..87edbbc8a 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -400,6 +400,16 @@ void DivePlannerGraphics::mouseDoubleClickEvent(QMouseEvent* event) plannerModel->addStop(meters * 1000, minutes * 60, tr("Air"), 0); } +void DivePlannerPointsModel::createSimpleDive() +{ + plannerModel->addStop(18000, 1 * 60, tr("Air"), 0); + plannerModel->addStop(18000, 25 * 60, tr("Air"), 0); + plannerModel->addStop(9000, 26 * 60, tr("Air"), 0); + plannerModel->addStop(9000, 41 * 60, tr("Air"), 0); + plannerModel->addStop(5000, 42 * 60, tr("Air"), 0); + plannerModel->addStop(5000, 45 * 60, tr("Air"), 0); +} + void DivePlannerGraphics::prepareSelectGas() { currentGasChoice = static_cast<Button*>(sender()); |