summaryrefslogtreecommitdiff
path: root/Userland/Games/Hearts/main.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-03-17 23:19:56 +0000
committerAndreas Kling <kling@serenityos.org>2022-03-18 01:10:16 +0100
commitfd60c9fac7150412092f465fb08d3e50bfd0f551 (patch)
tree96dd4597f375f33d26f3057e5972d5fd3e13d3b5 /Userland/Games/Hearts/main.cpp
parentc2d11d5aa0d8f7830afde9d1ec379862203f69f6 (diff)
downloadserenity-fd60c9fac7150412092f465fb08d3e50bfd0f551.zip
Games: Add reload icon to 'New Game' actions
Diffstat (limited to 'Userland/Games/Hearts/main.cpp')
-rw-r--r--Userland/Games/Hearts/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Hearts/main.cpp b/Userland/Games/Hearts/main.cpp
index c09c8e7cdd..cd2327215a 100644
--- a/Userland/Games/Hearts/main.cpp
+++ b/Userland/Games/Hearts/main.cpp
@@ -87,7 +87,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto game_menu = TRY(window->try_add_menu("&Game"));
- TRY(game_menu->try_add_action(GUI::Action::create("&New Game", { Mod_None, Key_F2 }, [&](auto&) {
+ TRY(game_menu->try_add_action(GUI::Action::create("&New Game", { Mod_None, Key_F2 }, TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/reload.png")), [&](auto&) {
game.setup(player_name);
})));
TRY(game_menu->try_add_separator());