diff options
author | Linus Groh <mail@linusgroh.de> | 2022-03-17 23:22:09 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-18 01:10:16 +0100 |
commit | 50ad8d2a5ad00481c8e33f9987514fb9e917f620 (patch) | |
tree | aeda02be8481a3e919237c813d8a8f2704d07318 | |
parent | c19486172d7d6183ee7c25c1c95d58eba765eb48 (diff) | |
download | serenity-50ad8d2a5ad00481c8e33f9987514fb9e917f620.zip |
Hearts: Add icon to settings action
-rw-r--r-- | Userland/Games/Hearts/main.cpp | 2 |
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()); |