From a6b8ac10f75ad2d97198bf41adabd2ad4aece85a Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Fri, 23 Sep 2022 10:56:59 -0400 Subject: [PATCH] Welcome: Use fallible try_create_default_icon() --- Userland/Applications/Welcome/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/Welcome/main.cpp b/Userland/Applications/Welcome/main.cpp index 8a34f344df..d96e75d67a 100644 --- a/Userland/Applications/Welcome/main.cpp +++ b/Userland/Applications/Welcome/main.cpp @@ -25,7 +25,7 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Core::System::unveil("/tmp/user/%uid/portal/webcontent", "rw")); TRY(Core::System::unveil("/bin/Help", "x")); TRY(Core::System::unveil(nullptr, nullptr)); - auto app_icon = GUI::Icon::default_icon("app-welcome"sv); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-welcome"sv)); auto window = TRY(GUI::Window::try_create()); window->resize(480, 250);