diff options
-rw-r--r-- | Userland/Games/MasterWord/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Games/MasterWord/main.cpp b/Userland/Games/MasterWord/main.cpp index 4e0edf5111..970a497c0b 100644 --- a/Userland/Games/MasterWord/main.cpp +++ b/Userland/Games/MasterWord/main.cpp @@ -41,7 +41,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-masterword"sv)); auto window = TRY(GUI::Window::try_create()); - + window->set_icon(app_icon.bitmap_for_size(16)); window->set_double_buffering_enabled(false); window->set_title("MasterWord"); window->set_resizable(false); @@ -153,7 +153,5 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) window->show(); - window->set_icon(app_icon.bitmap_for_size(16)); - return app->exec(); } |