From 07cf17f32853bd2c816c5ef74972c88796973e76 Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 11:54:18 +0100 Subject: 2048: Convert to try_create_default_icon --- Userland/Games/2048/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Games/2048/main.cpp') diff --git a/Userland/Games/2048/main.cpp b/Userland/Games/2048/main.cpp index 8cc3570cab..429e7bbe5d 100644 --- a/Userland/Games/2048/main.cpp +++ b/Userland/Games/2048/main.cpp @@ -31,7 +31,7 @@ ErrorOr serenity_main(Main::Arguments arguments) srand(time(nullptr)); auto app = TRY(GUI::Application::try_create(arguments)); - auto app_icon = GUI::Icon::default_icon("app-2048"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-2048")); auto window = TRY(GUI::Window::try_create()); -- cgit v1.2.3