summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Games/Minesweeper/main.cpp2
1 files changed, 1 insertions, 1 deletions
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<int> 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);