Solitaire: Convert to try_create_default_icon

This commit is contained in:
Astraeus- 2021-12-18 11:56:26 +01:00 committed by Andreas Kling
parent bb214dd7e8
commit 3ca72831d1
Notes: sideshowbarker 2024-07-17 22:37:40 +09:00

View file

@ -27,7 +27,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix"));
auto app = TRY(GUI::Application::try_create(arguments));
auto app_icon = GUI::Icon::default_icon("app-solitaire");
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-solitaire"));
Config::pledge_domains("Solitaire");