summaryrefslogtreecommitdiff
path: root/Userland/Games/Hearts
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-03-17 23:22:09 +0000
committerAndreas Kling <kling@serenityos.org>2022-03-18 01:10:16 +0100
commit50ad8d2a5ad00481c8e33f9987514fb9e917f620 (patch)
treeaeda02be8481a3e919237c813d8a8f2704d07318 /Userland/Games/Hearts
parentc19486172d7d6183ee7c25c1c95d58eba765eb48 (diff)
downloadserenity-50ad8d2a5ad00481c8e33f9987514fb9e917f620.zip
Hearts: Add icon to settings action
Diffstat (limited to 'Userland/Games/Hearts')
-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 98fd8b51e4..429779af2c 100644
--- a/Userland/Games/Hearts/main.cpp
+++ b/Userland/Games/Hearts/main.cpp
@@ -91,7 +91,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
game.setup(player_name);
})));
TRY(game_menu->try_add_separator());
- TRY(game_menu->try_add_action(GUI::Action::create("&Settings", [&](auto&) {
+ TRY(game_menu->try_add_action(GUI::Action::create("&Settings", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png")), [&](auto&) {
change_settings();
})));
TRY(game_menu->try_add_separator());