mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-02 16:25:34 +03:00
Eyes: Convert to try_create_default_icon
This commit is contained in:
parent
b02da2442f
commit
4db2f5b4ae
Notes:
sideshowbarker
2024-07-17 22:37:28 +09:00
Author: https://github.com/Astraeus- Commit: https://github.com/SerenityOS/serenity/commit/4db2f5b4ae2 Pull-request: https://github.com/SerenityOS/serenity/pull/11293
@ -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…
Reference in New Issue
Block a user