diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-20 18:40:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-20 20:55:29 +0200 |
commit | 6a012ad79f95673a36531c27c81e0efa6c6ec664 (patch) | |
tree | 54777eacd8382e76f87d578e57ac080cb531c0e1 /Userland/Services/NotificationServer/NotificationWindow.cpp | |
parent | 068ddf4513281c0aa183552273b3b9a811b78263 (diff) | |
download | serenity-6a012ad79f95673a36531c27c81e0efa6c6ec664.zip |
LibGfx: Remove Gfx::FontDatabase::default_bold_font()
Instead use default_font().bold_variant() in cases where we want a bold
variant of the default font. :^)
Diffstat (limited to 'Userland/Services/NotificationServer/NotificationWindow.cpp')
-rw-r--r-- | Userland/Services/NotificationServer/NotificationWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/NotificationServer/NotificationWindow.cpp b/Userland/Services/NotificationServer/NotificationWindow.cpp index de8f989f0b..b05b25398b 100644 --- a/Userland/Services/NotificationServer/NotificationWindow.cpp +++ b/Userland/Services/NotificationServer/NotificationWindow.cpp @@ -82,7 +82,7 @@ NotificationWindow::NotificationWindow(i32 client_id, const String& text, const left_container.set_layout<GUI::VerticalBoxLayout>(); m_title_label = &left_container.add<GUI::Label>(title); - m_title_label->set_font(Gfx::FontDatabase::default_bold_font()); + m_title_label->set_font(Gfx::FontDatabase::default_font().bold_variant()); m_title_label->set_text_alignment(Gfx::TextAlignment::CenterLeft); m_text_label = &left_container.add<GUI::Label>(text); m_text_label->set_text_alignment(Gfx::TextAlignment::CenterLeft); |