Cockatrice/cockatrice/src/filters
BruebachL a791389c6a
[Fonts] Restore DeckList Serif default and live-update all role readers (#7541)
* [Fonts] Restore DeckList Serif default and live-update all role readers

* [Fonts] Keep the DeckList fallback on the application font

DeckList is read by the deck editor headers, the filter tree and the deck
view too, not only by the two surfaces that hardcoded Serif. Resolving the
unset role to Serif in appFont() made every user without a fonts.toml see
Serif outside the deck list.

- appFont(DeckList) falls back to the application font again.
- ThemeManager::deckListFont() resolves the role and keeps the Serif
  fallback for the two historical sites: the deck view zone headers and
  the printed deck list.
- DeckView no longer repaints its viewport on fontsChanged; touching the
  scene items already schedules the repaint in every attached view.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-11-04 07:57:55 +01:00
..
deck_filter_string.cpp [Refactor] Move LoadedDeck and DeckFileFormat data types into libcockatrice_deck_list (#7424) 2026-10-31 18:44:11 +01:00
deck_filter_string.h [Refactor] Move LoadedDeck and DeckFileFormat data types into libcockatrice_deck_list (#7424) 2026-10-31 18:44:11 +01:00
filter_builder.cpp [QtUtils] Use makeLayout() for zero-margin layouts (#7620) 2026-10-24 19:06:18 +02:00
filter_builder.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
filter_tree_model.cpp [Fonts] Restore DeckList Serif default and live-update all role readers (#7541) 2026-11-04 07:57:55 +01:00
filter_tree_model.h [VisualDatabase] Draw the card grid with a model/view (#7701) 2026-11-02 08:35:58 +01:00
syntax_help.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
syntax_help.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00