diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-18 05:52:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-18 05:52:59 +0300 |
commit | 0034c2c7ee0a644aac9d43e2d37661dc89e96003 (patch) | |
tree | 2a003123a2ac7f67b196dec550ee10d55a52a6a5 /src | |
parent | ec6c80d170c4a30e76abc22c889aa8cf27fb45a4 (diff) | |
download | mv-0034c2c7ee0a644aac9d43e2d37661dc89e96003.tar.gz mv-0034c2c7ee0a644aac9d43e2d37661dc89e96003.tar.bz2 mv-0034c2c7ee0a644aac9d43e2d37661dc89e96003.tar.xz mv-0034c2c7ee0a644aac9d43e2d37661dc89e96003.zip |
Fix unit tests compilation.
Diffstat (limited to 'src')
-rw-r--r-- | src/unittests/gui/widgets/browserbox.cc | 6 |
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, ""); |