diff options
author | Astraeus- <Astraeus-@users.noreply.github.com> | 2021-12-18 11:41:35 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-18 23:36:59 +0100 |
commit | ff3272b60d1b3863f32849b2c1a1e311a1d9ce98 (patch) | |
tree | 023382a59c643f7ffc667cb8a2a00e21d7528ac8 | |
parent | a15b86cd015445a3100c97f7729db2f859ce9629 (diff) | |
download | serenity-ff3272b60d1b3863f32849b2c1a1e311a1d9ce98.zip |
GameOfLife: Convert to try_create_default_icon
-rw-r--r-- | Userland/Games/GameOfLife/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/GameOfLife/main.cpp b/Userland/Games/GameOfLife/main.cpp index 78f2e2e157..72a159eaae 100644 --- a/Userland/Games/GameOfLife/main.cpp +++ b/Userland/Games/GameOfLife/main.cpp @@ -34,7 +34,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-gameoflife"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-gameoflife")); auto window = TRY(GUI::Window::try_create()); window->set_icon(app_icon.bitmap_for_size(16)); |