mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
[Fonts] Restore DeckList Serif default and live-update all role readers
This commit is contained in:
parent
ad860eb932
commit
17061980cc
18 changed files with 118 additions and 6 deletions
|
|
@ -662,8 +662,9 @@ QFont ThemeManager::appFont(AppFont::Role role) const
|
|||
// Role fallbacks preserve the pre-theme defaults when no fonts.toml is
|
||||
// present: an unset role resolves to the application font, so the result is
|
||||
// identical to before. The report dialogs that used to hardcode monospace
|
||||
// ask for it explicitly (report_utils::reportLogFont), and the counter
|
||||
// painters that used to hardcode Serif ask for it through cardTextFont().
|
||||
// ask for it explicitly (report_utils::reportLogFont); the counter painters
|
||||
// and deck lists that used to hardcode Serif ask for it through
|
||||
// cardTextFont() and deckListFont().
|
||||
return qApp->font();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue