summaryrefslogtreecommitdiff
path: root/src/unittests/gui/widgets/browserbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/gui/widgets/browserbox.cc')
-rw-r--r--src/unittests/gui/widgets/browserbox.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/unittests/gui/widgets/browserbox.cc b/src/unittests/gui/widgets/browserbox.cc
index a6ad9773d..46a5f3b23 100644
--- a/src/unittests/gui/widgets/browserbox.cc
+++ b/src/unittests/gui/widgets/browserbox.cc
@@ -79,8 +79,10 @@ TEST_CASE("BrowserBox tests", "browserbox")
gui = new Gui();
gui->postInit(mainGraphics);
- Widget::setGlobalFont(new Font("/usr/share/fonts/truetype/"
- "ttf-dejavu/DejaVuSans-Oblique.ttf", 18));
+ Widget::setGlobalFont(new Font(
+ "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf",
+ 18,
+ TTF_STYLE_NORMAL));
BrowserBox *const box = new BrowserBox(nullptr,
Opaque_true,
"");