aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testpreferences.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-04 19:29:07 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-12 07:36:10 -0700
commit3c69c8299b88ab8f3ce9212e5d10d81f9f687702 (patch)
treea5cf6765c3dc34a42fd6d0d15d0243d91d890155 /tests/testpreferences.cpp
parent26be37fe58114dad5f5c7769f6b9d1909b602f2b (diff)
downloadsubsurface-3c69c8299b88ab8f3ce9212e5d10d81f9f687702.tar.gz
core: SettingsObjectWrapper remove buehlmann property
remove buehlmann(), setBuehlmann(bool) buehlmann() is really planner_deco_mode == BUEHLMANN, so no need for a function setBuehlmann is dangerous, because buehlmann is saved on disk, but not in prefs.* and thus can lead to inconsistency between bool buehlmann and planner_deco_moce. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testpreferences.cpp')
-rw-r--r--tests/testpreferences.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp
index aef4c9991..c5f1945d8 100644
--- a/tests/testpreferences.cpp
+++ b/tests/testpreferences.cpp
@@ -61,8 +61,6 @@ void TestPreferences::testPreferences()
TEST(tecDetails->calcalltissues(), true);
tecDetails->setCalcndltts(true);
TEST(tecDetails->calcndltts(), true);
- tecDetails->setBuehlmann(true);
- TEST(tecDetails->buehlmann(), true);
tecDetails->setHRgraph(true);
TEST(tecDetails->hrgraph(), true);
tecDetails->setTankBar(true);
@@ -102,8 +100,6 @@ void TestPreferences::testPreferences()
TEST(tecDetails->calcalltissues(), false);
tecDetails->setCalcndltts(false);
TEST(tecDetails->calcndltts(), false);
- tecDetails->setBuehlmann(false);
- TEST(tecDetails->buehlmann(), false);
tecDetails->setHRgraph(false);
TEST(tecDetails->hrgraph(), false);
tecDetails->setTankBar(false);