summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-11-12 14:26:34 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2017-11-12 15:11:30 +0100
commitb32251a5a8ec6dc431b6c5a71e5cd9d3d95f0930 (patch)
treeedaba36a007a32d40abccfabdb4930fd4a0b407a /desktop-widgets/preferences
parent4d04f74312dc4a7fe75a442cf22a2901ede28d1a (diff)
downloadsubsurface-b32251a5a8ec6dc431b6c5a71e5cd9d3d95f0930.tar.gz
Typo: modp02 -> modpO2
Fixes two function names, where O2 was written as 02. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/preferences')
-rw-r--r--desktop-widgets/preferences/preferences_graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/preferences/preferences_graph.cpp b/desktop-widgets/preferences/preferences_graph.cpp
index f0bd408e1..9f45c7db6 100644
--- a/desktop-widgets/preferences/preferences_graph.cpp
+++ b/desktop-widgets/preferences/preferences_graph.cpp
@@ -62,7 +62,7 @@ void PreferencesGraph::syncSettings()
pp_gas->setPn2Threshold(ui->pn2Threshold->value());
auto tech = SettingsObjectWrapper::instance()->techDetails;
- tech->setModp02(ui->maxpo2->value());
+ tech->setModpO2(ui->maxpo2->value());
tech->setRedceiling(ui->red_ceiling->isChecked());
tech->setBuehlmann(ui->buehlmann->isChecked());
tech->setGflow(ui->gflow->value());