diff options
author | Astraeus- <Astraeus-@users.noreply.github.com> | 2021-12-18 11:54:18 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-18 23:36:59 +0100 |
commit | 07cf17f32853bd2c816c5ef74972c88796973e76 (patch) | |
tree | 3006c58394a18e219198e8974b31985764695d0c /Userland/Games/2048/main.cpp | |
parent | c1820770bbe57f1da17ce56fe9f01efa1ae0c1f9 (diff) | |
download | serenity-07cf17f32853bd2c816c5ef74972c88796973e76.zip |
2048: Convert to try_create_default_icon
Diffstat (limited to 'Userland/Games/2048/main.cpp')
-rw-r--r-- | Userland/Games/2048/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/2048/main.cpp b/Userland/Games/2048/main.cpp index 8cc3570cab..429e7bbe5d 100644 --- a/Userland/Games/2048/main.cpp +++ b/Userland/Games/2048/main.cpp @@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) srand(time(nullptr)); auto app = TRY(GUI::Application::try_create(arguments)); - auto app_icon = GUI::Icon::default_icon("app-2048"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-2048")); auto window = TRY(GUI::Window::try_create()); |