mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-06 18:13:29 -08:00
* [Settings] Delete update channels at shutdown SettingsCache owns the stable and beta update channels as raw pointers, and each owns a QNetworkAccessManager, so the process leaves QtNetwork objects alive past QApplication teardown. Delete them from a QCoreApplication::aboutToQuit handler instead of the destructor: SettingsCache is a Q_GLOBAL_STATIC, so ~SettingsCache() runs during static teardown, after QApplication is gone, and destroying the network managers at that point is the post-application window that ASan reports. The hook is installed on the first instance() call that has an application object, since the first access may predate it. * [Game] Follow the palette in judge message tags Judge tags hardcoded a black prefix and a `theme:icons/scales` image inside rich text, where `currentColor` cannot resolve and a palette change leaves the tag unreadable. Render the scales glyph through the themed icon engine, register it as a document image resource, and repaint the log when the palette or theme changes. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| board | ||
| deckview | ||
| dialogs | ||
| log | ||
| player | ||
| tally | ||
| zones | ||
| animated_item.h | ||
| card_dimensions.h | ||
| game_scene.cpp | ||
| game_scene.h | ||
| game_view.cpp | ||
| game_view.h | ||
| hand_counter.cpp | ||
| hand_counter.h | ||
| phases_toolbar.cpp | ||
| phases_toolbar.h | ||
| pq_cockatrice_event_player.cpp | ||
| pq_cockatrice_event_player.h | ||
| z_value_layer_manager.h | ||
| z_values.h | ||