mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Breakout: Convert to try_create_default_icon
This commit is contained in:
parent
e122502f70
commit
38f47a79d0
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
window->set_double_buffering_enabled(false);
|
||||
window->set_title("Breakout");
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("app-breakout");
|
||||
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-breakout"));
|
||||
window->set_icon(app_icon.bitmap_for_size(16));
|
||||
|
||||
auto game = TRY(window->try_set_main_widget<Breakout::Game>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue