From fe2eabf3756c9883ee8e8c145e5cd12d8d336933 Mon Sep 17 00:00:00 2001 From: Patrick Valsecchi Date: Wed, 20 Nov 2013 16:11:22 +0100 Subject: Added a configuration option to have gf_low apply at max depth instead of at deepest ceiling. Signed-off-by: Patrick Valsecchi Signed-off-by: Dirk Hohndel --- qt-ui/preferences.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qt-ui/preferences.cpp') diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index f638d9d7d..0249c894f 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -55,6 +55,7 @@ void PreferencesDialog::setUiFromPrefs() ui.gflow->setValue(prefs.gflow); ui.gfhigh->setValue(prefs.gfhigh); + ui.gf_low_at_maxdepth->setChecked(prefs.gf_low_at_maxdepth); // units if (prefs.unit_system == METRIC) @@ -111,7 +112,7 @@ void PreferencesDialog::syncSettings() s.setValue("pn2threshold", ui.pn2Threshold->value()); SB("ead", ui.ead_end_eadd); SB("mod", ui.mod); - s.setValue("modppo2", ui.maxppo2->value()); + s.setValue("modppO2", ui.maxppo2->value()); SB("dcceiling", ui.dc_reported_ceiling); SB("redceiling", ui.red_ceiling); SB("calcceiling", ui.calculated_ceiling); @@ -120,6 +121,7 @@ void PreferencesDialog::syncSettings() SB("calcalltissues", ui.all_tissues); s.setValue("gflow", ui.gflow->value()); s.setValue("gfhigh", ui.gfhigh->value()); + SB("gf_low_at_maxdepth", ui.gf_low_at_maxdepth); SB("show_sac", ui.show_sac); s.endGroup(); -- cgit v1.2.3-70-g09d2