diff options
author | Linus Groh <mail@linusgroh.de> | 2022-03-17 23:19:56 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-18 01:10:16 +0100 |
commit | fd60c9fac7150412092f465fb08d3e50bfd0f551 (patch) | |
tree | 96dd4597f375f33d26f3057e5972d5fd3e13d3b5 /Userland/Games/Chess/main.cpp | |
parent | c2d11d5aa0d8f7830afde9d1ec379862203f69f6 (diff) | |
download | serenity-fd60c9fac7150412092f465fb08d3e50bfd0f551.zip |
Games: Add reload icon to 'New Game' actions
Diffstat (limited to 'Userland/Games/Chess/main.cpp')
-rw-r--r-- | Userland/Games/Chess/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp index 837ac5f761..dad764ee45 100644 --- a/Userland/Games/Chess/main.cpp +++ b/Userland/Games/Chess/main.cpp @@ -100,7 +100,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) }))); TRY(game_menu->try_add_separator()); - 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&) { if (widget->board().game_result() == Chess::Board::Result::NotFinished) { if (widget->resign() < 0) return; |