[Fonts] Restore DeckList Serif default and live-update all role readers

This commit is contained in:
Lukas Brübach 2026-10-16 10:06:16 +02:00
parent ad860eb932
commit 17061980cc
18 changed files with 118 additions and 6 deletions

View file

@ -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();
}