mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:58:11 +00:00
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. :^)
This commit is contained in:
parent
068ddf4513
commit
6a012ad79f
24 changed files with 33 additions and 46 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
if (role == GUI::ModelRole::Font) {
|
||||
if (index.column() == 0) {
|
||||
return Gfx::FontDatabase::default_bold_font();
|
||||
return Gfx::FontDatabase::default_font().bold_variant();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue