From b9579de2b58c9eeb9859151307d3b1a40a42eae5 Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 12:20:27 +0100 Subject: [PATCH] ModelGallery: Convert to try_create_default_icon --- Userland/Demos/ModelGallery/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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");