From c1820770bbe57f1da17ce56fe9f01efa1ae0c1f9 Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 11:53:18 +0100 Subject: [PATCH] Minesweeper: Convert to try_create_default_icon --- Userland/Games/Minesweeper/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Games/Minesweeper/main.cpp b/Userland/Games/Minesweeper/main.cpp index 301329d016..6234c413f6 100644 --- a/Userland/Games/Minesweeper/main.cpp +++ b/Userland/Games/Minesweeper/main.cpp @@ -35,7 +35,7 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); - auto app_icon = GUI::Icon::default_icon("app-minesweeper"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-minesweeper")); auto window = TRY(GUI::Window::try_create()); window->set_resizable(false);