mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
setColorScheme()/setStyleName() and the palette editor wrote directly to the resolved theme directory, which for built-in themes is the read-only system (install) location. Changes therefore landed in the install dir and were lost on upgrade. Add ThemeManager::writableThemeDir(), which always resolves to the user themes directory, and route all theme writes through it. The palette editor reuses the same helper, dropping its private writability probe. |
||
|---|---|---|
| .. | ||
| color_button.cpp | ||
| color_button.h | ||
| palette_editor_dialog.cpp | ||
| palette_editor_dialog.h | ||
| palette_generator.cpp | ||
| palette_generator.h | ||
| palette_grid_widget.cpp | ||
| palette_grid_widget.h | ||
| quick_setup_panel.cpp | ||
| quick_setup_panel.h | ||