From fd60c9fac7150412092f465fb08d3e50bfd0f551 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 17 Mar 2022 23:19:56 +0000 Subject: Games: Add reload icon to 'New Game' actions --- Userland/Games/Chess/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Games/Chess/main.cpp') 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 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; -- cgit v1.2.3