diff options
author | willemferguson <willemferguson@zoology.up.ac.za> | 2019-12-08 11:30:16 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-25 02:57:42 +0900 |
commit | 2ac279d12953ad840ade1c08d0eff5c2f4adb0b9 (patch) | |
tree | 9f2d70f50cb910803e260fa9d3bdad2687d820ad /desktop-widgets/preferences/preferences_graph.cpp | |
parent | 3e853e37a5b0b9509fb92b1ddb3031f117578fb9 (diff) | |
download | subsurface-2ac279d12953ad840ade1c08d0eff5c2f4adb0b9.tar.gz |
Pereferences UI: add media tab
Remove the preference settings dealing with thumbnails (currently under
General preferences and Profile preferences) and put them in a newly-created
Media preference tab.
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferences_graph.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferences_graph.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/preferences/preferences_graph.cpp b/desktop-widgets/preferences/preferences_graph.cpp index 54a63fd71..cdead91e0 100644 --- a/desktop-widgets/preferences/preferences_graph.cpp +++ b/desktop-widgets/preferences/preferences_graph.cpp @@ -50,7 +50,6 @@ void PreferencesGraph::refreshSettings() ui->pscrfactor->setValue(lrint(1000.0 / prefs.pscr_ratio)); ui->show_average_depth->setChecked(prefs.show_average_depth); - ui->auto_recalculate_thumbnails->setChecked(prefs.auto_recalculate_thumbnails); ui->show_icd->setChecked(prefs.show_icd); } @@ -59,7 +58,6 @@ void PreferencesGraph::syncSettings() qPrefGeneral::set_defaultsetpoint(lrint(ui->defaultSetpoint->value() * 1000.0)); qPrefGeneral::set_o2consumption(lrint(ui->psro2rate->value() *1000.0)); qPrefGeneral::set_pscr_ratio(lrint(1000.0 / ui->pscrfactor->value())); - qPrefGeneral::set_auto_recalculate_thumbnails(ui->auto_recalculate_thumbnails->isChecked()); qPrefPartialPressureGas::set_phe_threshold(ui->pheThreshold->value()); qPrefPartialPressureGas::set_po2_threshold_max(ui->po2ThresholdMax->value()); |