1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:27:35 +00:00

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

View file

@ -42,7 +42,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix")); TRY(Core::System::pledge("stdio recvfd sendfd rpath unix"));
auto app = TRY(GUI::Application::try_create(arguments)); 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"); Config::pledge_domains("Spider");