diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-27 19:13:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-27 19:13:41 +0300 |
commit | 6da17088f26c4d9048124824a5bcd660beef338a (patch) | |
tree | 4a8bdbb1c9e9e89f94929471961fb41be9ea51e7 /src/unittests/gui/widgets/browserbox.cc | |
parent | 5afb8f2605c7b22d95081c489769cb94d9a748ff (diff) | |
download | manaverse-6da17088f26c4d9048124824a5bcd660beef338a.tar.gz manaverse-6da17088f26c4d9048124824a5bcd660beef338a.tar.bz2 manaverse-6da17088f26c4d9048124824a5bcd660beef338a.tar.xz manaverse-6da17088f26c4d9048124824a5bcd660beef338a.zip |
Dont use system font in browserbox unit tests.
Diffstat (limited to 'src/unittests/gui/widgets/browserbox.cc')
-rw-r--r-- | src/unittests/gui/widgets/browserbox.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittests/gui/widgets/browserbox.cc b/src/unittests/gui/widgets/browserbox.cc index f29bdc8c9..2c0071313 100644 --- a/src/unittests/gui/widgets/browserbox.cc +++ b/src/unittests/gui/widgets/browserbox.cc @@ -80,7 +80,7 @@ TEST_CASE("BrowserBox tests", "browserbox") gui->postInit(mainGraphics); Widget::setGlobalFont(new Font( - "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf", + "fonts/dejavusans.ttf", 18, TTF_STYLE_NORMAL)); BrowserBox *const box = new BrowserBox(nullptr, |