mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
Eyes: Convert to try_create_default_icon
This commit is contained in:
parent
b02da2442f
commit
4db2f5b4ae
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
extra_columns = num_eyes % max_in_row;
|
||||
}
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("app-eyes");
|
||||
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-eyes"));
|
||||
|
||||
auto window = TRY(GUI::Window::try_create());
|
||||
window->set_title("Eyes");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue