From 38f47a79d093a2b11860de6b31cfc8f0b49bf91f Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 11:37:39 +0100 Subject: [PATCH] Breakout: Convert to try_create_default_icon --- Userland/Games/Breakout/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Games/Breakout/main.cpp b/Userland/Games/Breakout/main.cpp index 943c04428d..aa7389ba03 100644 --- a/Userland/Games/Breakout/main.cpp +++ b/Userland/Games/Breakout/main.cpp @@ -31,7 +31,7 @@ ErrorOr serenity_main(Main::Arguments arguments) window->set_double_buffering_enabled(false); window->set_title("Breakout"); - auto app_icon = GUI::Icon::default_icon("app-breakout"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-breakout")); window->set_icon(app_icon.bitmap_for_size(16)); auto game = TRY(window->try_set_main_widget());