diff options
author | Astraeus- <Astraeus-@users.noreply.github.com> | 2021-12-18 11:42:50 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-18 23:36:59 +0100 |
commit | 29d5fee07ec7743855a938849f08e4b3c72ecc89 (patch) | |
tree | 8050b346540b8f17c3c799103ed725897b272a3d | |
parent | ff3272b60d1b3863f32849b2c1a1e311a1d9ce98 (diff) | |
download | serenity-29d5fee07ec7743855a938849f08e4b3c72ecc89.zip |
FlappyBug: Convert to try_create_default_icon
-rw-r--r-- | Userland/Games/FlappyBug/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/FlappyBug/main.cpp b/Userland/Games/FlappyBug/main.cpp index 8526548081..008a9f4fbc 100644 --- a/Userland/Games/FlappyBug/main.cpp +++ b/Userland/Games/FlappyBug/main.cpp @@ -32,7 +32,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto window = TRY(GUI::Window::try_create()); window->resize(FlappyBug::Game::game_width, FlappyBug::Game::game_height); - auto app_icon = GUI::Icon::default_icon("app-flappybug"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-flappybug")); window->set_icon(app_icon.bitmap_for_size(16)); window->set_title("Flappy Bug"); window->set_double_buffering_enabled(false); |