Sam Atkins
39579436c1
GamesSettings: Make chess preview widget resilient to missing images
...
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.
2023-11-07 19:44:11 +01:00
..
2023-10-15 12:14:07 +02:00
2023-09-02 16:27:08 +01:00
2023-09-21 10:20:23 +02:00
2023-10-07 07:13:52 +02:00
2023-11-06 09:39:59 +01:00
2023-11-06 09:39:59 +01:00
2023-09-21 10:20:23 +02:00
2023-10-26 11:10:23 +02:00
2023-09-18 18:00:45 +02:00
2023-09-21 10:20:23 +02:00
2023-10-31 15:21:34 +01:00
2023-10-27 16:51:03 -06:00
2023-10-13 18:33:21 +03:30
2023-09-21 10:20:23 +02:00
2023-09-27 03:22:56 +02:00
2023-10-10 14:36:25 +02:00
2023-11-07 19:44:11 +01:00
2023-09-27 03:22:56 +02:00
2023-09-29 14:40:21 +01:00
2023-10-03 08:33:53 +02:00
2023-09-24 20:00:00 -06:00
2023-09-21 10:20:23 +02:00
2023-09-21 10:20:23 +02:00
2023-10-13 11:12:18 -06:00
2023-09-18 18:00:45 +02:00
2023-10-26 17:23:54 -06:00
2023-10-26 17:23:54 -06:00
2023-10-13 18:33:21 +03:30
2023-09-21 10:20:23 +02:00
2023-09-21 10:20:23 +02:00
2023-10-06 08:20:11 +02:00
2023-10-23 12:04:51 +01:00
2023-09-29 14:40:21 +01:00
2023-09-21 10:20:23 +02:00
2023-09-25 10:58:31 +02:00
2023-10-13 18:33:21 +03:30
2023-10-06 08:20:11 +02:00
2023-11-02 07:37:41 +01:00
2023-10-13 18:33:21 +03:30
2023-09-25 10:58:31 +02:00
2023-09-06 11:29:03 -04:00
2023-10-13 18:33:21 +03:30
2023-09-29 14:40:21 +01:00
2023-09-21 10:20:23 +02:00
2023-10-29 13:12:28 -06:00
2023-09-18 12:46:41 -06:00