diff options
author | Astraeus- <Astraeus-@users.noreply.github.com> | 2021-12-18 12:20:27 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-18 23:36:59 +0100 |
commit | b9579de2b58c9eeb9859151307d3b1a40a42eae5 (patch) | |
tree | ae97f8ce8b5f1aa789ed5e5c8c501b072a98fdb5 | |
parent | 683077c894d24316aa5496fc68950b4a5199f077 (diff) | |
download | serenity-b9579de2b58c9eeb9859151307d3b1a40a42eae5.zip |
ModelGallery: Convert to try_create_default_icon
-rw-r--r-- | Userland/Demos/ModelGallery/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/ModelGallery/main.cpp b/Userland/Demos/ModelGallery/main.cpp index 15d46fd6b3..03d37040db 100644 --- a/Userland/Demos/ModelGallery/main.cpp +++ b/Userland/Demos/ModelGallery/main.cpp @@ -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"); |