summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstraeus- <Astraeus-@users.noreply.github.com>2021-12-18 11:53:18 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-18 23:36:59 +0100
commitc1820770bbe57f1da17ce56fe9f01efa1ae0c1f9 (patch)
tree7a99404516de23a654f484cee3d480d338d8a82e
parent421f91e4cac0eed44f50797ace37446b6c63d896 (diff)
downloadserenity-c1820770bbe57f1da17ce56fe9f01efa1ae0c1f9.zip
Minesweeper: Convert to try_create_default_icon
-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);