summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-11-14 19:55:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-15 08:59:01 +0900
commit83426c59e12fdfeb29b793e47c078e4dbd633b10 (patch)
treefad64ef4630a2ba6306ef39904fc28ee0272dbfd /qt-ui/diveplanner.cpp
parentbc6a1a4c53ceaf5797c8879ec3e157fe745a7b8d (diff)
downloadsubsurface-83426c59e12fdfeb29b793e47c078e4dbd633b10.tar.gz
Planner: Default to GF from prefs.
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index b5d7f5d90..17c10ca1d 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -945,8 +945,8 @@ DivePlannerWidget::DivePlannerWidget(QWidget* parent, Qt::WindowFlags f): QWidge
ui.ATMPressure->setText( "1013" );
ui.bottomSAC->setText("20");
ui.decoStopSAC->setText("17");
- ui.gflow->setValue(30);
- ui.gfhigh->setValue(75);
+ ui.gflow->setValue(prefs.gflow);
+ ui.gfhigh->setValue(prefs.gfhigh);
setMinimumWidth(0);
setMinimumHeight(0);