summaryrefslogtreecommitdiffstats
path: root/tests/testpreferences.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-14 08:14:31 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-14 08:14:31 -0700
commite834874a7a6f8e37fade28bf20640b8d0815373b (patch)
tree6a04abcf9c36a2a1cbd557af11eed0df379d0263 /tests/testpreferences.cpp
parentcf329ca13100f3b8947c33c8e0a7f4a9cedd5e2b (diff)
parentaa0a918082dced90eb608ba44f39028bfe9ad0c1 (diff)
downloadsubsurface-e834874a7a6f8e37fade28bf20640b8d0815373b.tar.gz
Merge branch 'qPrefDisplay' of https://github.com/janiversen/subsurface
Diffstat (limited to 'tests/testpreferences.cpp')
-rw-r--r--tests/testpreferences.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp
index 585044fd0..7a0fa64fd 100644
--- a/tests/testpreferences.cpp
+++ b/tests/testpreferences.cpp
@@ -445,23 +445,6 @@ void TestPreferences::testPreferences()
TEST(general->pscrRatio(), 1);
TEST(general->useDefaultFile(), false);
- auto display = pref->display_settings;
- display->setDivelistFont("comic");
- display->setFontSize(10.0);
- display->setDisplayInvalidDives(true);
-
- TEST(display->divelistFont(),QStringLiteral("comic"));
- TEST(display->fontSize(), 10.0);
- TEST(display->displayInvalidDives(), true);
-
- display->setDivelistFont("helvetica");
- display->setFontSize(14.0);
- display->setDisplayInvalidDives(false);
-
- TEST(display->divelistFont(),QStringLiteral("helvetica"));
- TEST(display->fontSize(), 14.0);
- TEST(display->displayInvalidDives(), false);
-
auto language = pref->language_settings;
language->setLangLocale ("en_US");
language->setLanguage ("en");