Cockatrice/cockatrice/src/interface/widgets/settings_page
Bryce! 0de92c06f8
[Spoilers] Preserve spoiler files through update and reload failures (#7707)
* Preserve spoiler files and serialize update reloads

* Surface spoiler removal reload failures and allow disabled-state retry

* Address review feedback on spoiler update lifecycle

Only remove the spoiler file when the user unchecks the setting; opening
Settings no longer queues an unrequested reload for a leftover file.
Remove the spoilersUpdatedSuccessfully signal, which had no receiver.

* Fix spoiler settings state after reopen and while disabled

Reopen Settings while an application-owned update is running: the new page
now observes that updater, so the button reads Updating... and re-enables
on completion instead of offering a second update that cancels the first.
Observation does not take ownership: only updaters the page creates are
retired with deleteLater, because the launch check is stack-allocated.

When spoilers are off, the hint now describes what Reload Card Database
actually does, stays readable, and wraps instead of clipping.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-11-04 18:24:19 +01:00
..
abstract_settings_page.cpp [Client] Settings: sub-page rows deep-linking into page sections (#7487) 2026-10-18 22:48:51 +02:00
abstract_settings_page.h [Client] Settings: sub-page rows deep-linking into page sections (#7487) 2026-10-18 22:48:51 +02:00
appearance_settings_page.cpp [QtUtils] Adopt window fade, path, bold font and confirmation helpers (#7622) 2026-10-24 21:43:50 +02:00
appearance_settings_page.h [Style] Confirm broken Windows styles with a dialog offering Fusion (#7507) 2026-10-15 12:41:01 +02:00
deck_editor_settings_page.cpp [Spoilers] Preserve spoiler files through update and reload failures (#7707) 2026-11-04 18:24:19 +01:00
deck_editor_settings_page.h [Spoilers] Preserve spoiler files through update and reload failures (#7707) 2026-11-04 18:24:19 +01:00
general_settings_page.cpp [Settings] Rename UI language selector & move translator hint (#7656) 2026-10-31 09:28:52 +01:00
general_settings_page.h [Translation] Name languages without reading the translation files (#7662) 2026-10-26 02:39:26 +01:00
messages_settings_page.cpp [Client] Tabbed room channels with unread states and collapsible chat (#7478) 2026-10-16 22:46:39 +02:00
messages_settings_page.h [Client] Tabbed room channels with unread states and collapsible chat (#7478) 2026-10-16 22:46:39 +02:00
settings_search_delegate.cpp [Fonts] Migrate DeckList and InterfaceDefault surfaces to theme roles (#7539) 2026-11-04 07:57:54 +01:00
settings_search_delegate.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
settings_search_model.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
settings_search_model.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
shortcut_settings_page.cpp [QtUtils] Adopt window fade, path, bold font and confirmation helpers (#7622) 2026-10-24 21:43:50 +02:00
shortcut_settings_page.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
sound_settings_page.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
sound_settings_page.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
storage_settings_page.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
storage_settings_page.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
user_interface_settings_page.cpp [QtUtils] Use makeLayout() for zero-margin layouts (#7620) 2026-10-24 19:06:18 +02:00
user_interface_settings_page.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00