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

2048: Convert to try_create_default_icon

This commit is contained in:
Astraeus- 2021-12-18 11:54:18 +01:00 committed by Andreas Kling
parent c1820770bb
commit 07cf17f328

View file

@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
srand(time(nullptr));
auto app = TRY(GUI::Application::try_create(arguments));
auto app_icon = GUI::Icon::default_icon("app-2048");
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-2048"));
auto window = TRY(GUI::Window::try_create());