mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
GamesSettings+LibCards: Get rid of DeprecatedString
This commit is contained in:
parent
afaea38be2
commit
bd13cc0732
5 changed files with 14 additions and 13 deletions
|
@ -121,7 +121,7 @@ void CardGame::config_string_did_change(StringView domain, StringView group, Str
|
|||
return;
|
||||
}
|
||||
if (key == "CardBackImage") {
|
||||
CardPainter::the().set_background_image_path(value);
|
||||
CardPainter::the().set_background_image_path(String::from_utf8(value).release_value_but_fixme_should_propagate_errors());
|
||||
update();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue