Spider: Convert to try_create_default_icon

This commit is contained in:
Astraeus- 2021-12-18 11:46:02 +01:00 committed by Andreas Kling
parent 29d5fee07e
commit 21335ad720
Notes: sideshowbarker 2024-07-17 22:38:04 +09:00

View file

@ -42,7 +42,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-spider");
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-spider"));
Config::pledge_domains("Spider");