mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Be more consistent in partial pressure naming
Lets just use pO₂ instead of PO2, ppO2, ppO₂, PO₂. They all mean the same, but it's better to be consistent Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
21916d67de
commit
630ec88dd4
19 changed files with 59 additions and 60 deletions
|
@ -54,7 +54,7 @@ void PreferencesDialog::setUiFromPrefs()
|
|||
ui.pheThreshold->setValue(prefs.pp_graphs.phe_threshold);
|
||||
ui.po2Threshold->setValue(prefs.pp_graphs.po2_threshold);
|
||||
ui.pn2Threshold->setValue(prefs.pp_graphs.pn2_threshold);
|
||||
ui.maxppo2->setValue(prefs.modppO2);
|
||||
ui.maxpo2->setValue(prefs.modpO2);
|
||||
ui.red_ceiling->setChecked(prefs.redceiling);
|
||||
ui.units_group->setEnabled(ui.personalize->isChecked());
|
||||
|
||||
|
@ -187,7 +187,7 @@ void PreferencesDialog::syncSettings()
|
|||
s.setValue("phethreshold", ui.pheThreshold->value());
|
||||
s.setValue("po2threshold", ui.po2Threshold->value());
|
||||
s.setValue("pn2threshold", ui.pn2Threshold->value());
|
||||
s.setValue("modppO2", ui.maxppo2->value());
|
||||
s.setValue("modpO2", ui.maxpo2->value());
|
||||
SB("redceiling", ui.red_ceiling);
|
||||
s.setValue("gflow", ui.gflow->value());
|
||||
s.setValue("gfhigh", ui.gfhigh->value());
|
||||
|
@ -280,7 +280,7 @@ void PreferencesDialog::loadSettings()
|
|||
GET_DOUBLE("pn2threshold", pp_graphs.pn2_threshold);
|
||||
GET_DOUBLE("phethreshold", pp_graphs.phe_threshold);
|
||||
GET_BOOL("mod", mod);
|
||||
GET_DOUBLE("modppO2", modppO2);
|
||||
GET_DOUBLE("modpO2", modpO2);
|
||||
GET_BOOL("ead", ead);
|
||||
GET_BOOL("redceiling", redceiling);
|
||||
GET_BOOL("dcceiling", dcceiling);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue