From 4db2f5b4ae22ab93831b8f037316fee88bd98c2b Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 12:17:26 +0100 Subject: [PATCH] Eyes: Convert to try_create_default_icon --- Userland/Demos/Eyes/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Demos/Eyes/main.cpp b/Userland/Demos/Eyes/main.cpp index 9468f757137..21a91d65b1f 100644 --- a/Userland/Demos/Eyes/main.cpp +++ b/Userland/Demos/Eyes/main.cpp @@ -56,7 +56,7 @@ ErrorOr 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");