summaryrefslogtreecommitdiff
path: root/src/unittests/gui/widgets/staticbrowserbox.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-27 19:13:41 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-27 19:13:41 +0300
commit6da17088f26c4d9048124824a5bcd660beef338a (patch)
tree4a8bdbb1c9e9e89f94929471961fb41be9ea51e7 /src/unittests/gui/widgets/staticbrowserbox.cc
parent5afb8f2605c7b22d95081c489769cb94d9a748ff (diff)
downloadplus-6da17088f26c4d9048124824a5bcd660beef338a.tar.gz
plus-6da17088f26c4d9048124824a5bcd660beef338a.tar.bz2
plus-6da17088f26c4d9048124824a5bcd660beef338a.tar.xz
plus-6da17088f26c4d9048124824a5bcd660beef338a.zip
Dont use system font in browserbox unit tests.
Diffstat (limited to 'src/unittests/gui/widgets/staticbrowserbox.cc')
-rw-r--r--src/unittests/gui/widgets/staticbrowserbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittests/gui/widgets/staticbrowserbox.cc b/src/unittests/gui/widgets/staticbrowserbox.cc
index 784143fbc..1dad81d84 100644
--- a/src/unittests/gui/widgets/staticbrowserbox.cc
+++ b/src/unittests/gui/widgets/staticbrowserbox.cc
@@ -80,7 +80,7 @@ TEST_CASE("StaticBrowserBox 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));
StaticBrowserBox *const box = new StaticBrowserBox(nullptr,