mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
39579436c1
Previously we would give up on loading the piece images if one fails. That was awkward because 2 out of 3 places where `set_piece_set_name()` is called can't propagate errors, so we'd just crash. Instead, let's skip any images that fail to load, and then when painting the preview, skip any missing bitmaps and show a warning message that some are missing. |
||
---|---|---|
.. | ||
CardSettingsWidget.cpp | ||
CardSettingsWidget.gml | ||
CardSettingsWidget.h | ||
ChessSettingsWidget.cpp | ||
ChessSettingsWidget.gml | ||
ChessSettingsWidget.h | ||
CMakeLists.txt | ||
main.cpp |