mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
ModelGallery: Convert to try_create_default_icon
This commit is contained in:
parent
683077c894
commit
b9579de2b5
Notes:
sideshowbarker
2024-07-19 01:59:31 +09:00
Author: https://github.com/Astraeus-
Commit: b9579de2b5
Pull-request: https://github.com/SerenityOS/serenity/pull/11293
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath"));
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("app-model-gallery");
|
||||
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-model-gallery"));
|
||||
|
||||
auto window = TRY(GUI::Window::try_create());
|
||||
window->set_title("Model Gallery");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue