Cockatrice/cockatrice/src
BruebachL a4c2b1411f
Utility method to check if a theme is supposed to be in dark or light mode. (#6785)
* Utility method to check if a theme is supposed to be in dark or light mode.

Took 22 minutes

Took 4 seconds

* Method is public.

Took 3 minutes

* Add a utility method to check if we're using a built-in theme

Took 3 minutes

Took 3 seconds

* Use built-in theme detection for home screen.

Took 6 minutes

* Re-polish on theme change

Took 2 minutes

* Fetch background on theme change.

Took 4 minutes

Took 6 seconds

* No need to double polish.

Took 4 minutes

* No need to repaint.

Took 32 seconds

* Only repolish visible widgets.

Took 5 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-05-08 13:47:14 +02:00
..
client [SettingsManager] Properly handle multithreaded access again (#6844) 2026-05-05 21:03:01 +02:00
database/interface [Fix-Warnings] Remove more redundant empty declarations. (extra semicolons) (#6374) 2025-11-29 14:19:11 +01:00
filters Update UnescapedStringListPart to include parentheses (#6631) 2026-02-25 23:55:34 -08:00
game [Game] Add a coinflip shortcut. (#6829) 2026-04-29 22:09:30 +02:00
game_graphics/board Bump minimum Qt version from 5.8 to 5.15 (#6442) 2025-12-23 09:58:23 -08:00
interface Utility method to check if a theme is supposed to be in dark or light mode. (#6785) 2026-05-08 13:47:14 +02:00
main.cpp Bump minimum Qt version from 5.8 to 5.15 (#6442) 2025-12-23 09:58:23 -08:00
main.h [Cleanup] Unused #includes (#6367) 2025-11-29 18:53:11 +01:00