From 88ce05317f3f0d14ddc17aee0a08a93f498f33a5 Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 11:47:33 +0100 Subject: [PATCH] Chess: Convert to try_create_default_icon --- Userland/Games/Chess/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp index 8e9d64e9b3..e116e719b4 100644 --- a/Userland/Games/Chess/main.cpp +++ b/Userland/Games/Chess/main.cpp @@ -29,7 +29,7 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Core::System::pledge("stdio rpath wpath cpath recvfd sendfd thread proc exec")); - auto app_icon = GUI::Icon::default_icon("app-chess"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-chess")); auto window = TRY(GUI::Window::try_create()); auto widget = TRY(window->try_set_main_widget());