mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
2048: Convert to try_create_default_icon
This commit is contained in:
parent
c1820770bb
commit
07cf17f328
Notes:
sideshowbarker
2024-07-17 22:37:48 +09:00
Author: https://github.com/Astraeus- Commit: https://github.com/SerenityOS/serenity/commit/07cf17f3285 Pull-request: https://github.com/SerenityOS/serenity/pull/11293
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue