diff options
author | Linus Groh <mail@linusgroh.de> | 2022-03-17 23:20:49 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-18 01:10:16 +0100 |
commit | c19486172d7d6183ee7c25c1c95d58eba765eb48 (patch) | |
tree | ce08ef49ff6a870084b459f04a2e4f3cb2854bda /Userland/Games | |
parent | fd60c9fac7150412092f465fb08d3e50bfd0f551 (diff) | |
download | serenity-c19486172d7d6183ee7c25c1c95d58eba765eb48.zip |
Applications+Games: Drop ellipsis from settings action
There is no second step to complete after activating this action.
Diffstat (limited to 'Userland/Games')
-rw-r--r-- | Userland/Games/2048/main.cpp | 2 | ||||
-rw-r--r-- | Userland/Games/Hearts/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/2048/main.cpp b/Userland/Games/2048/main.cpp index 45d51701b5..3a2d65a55a 100644 --- a/Userland/Games/2048/main.cpp +++ b/Userland/Games/2048/main.cpp @@ -192,7 +192,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) }))); TRY(game_menu->try_add_separator()); - TRY(game_menu->try_add_action(GUI::Action::create("&Settings...", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png")), [&](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(); }))); diff --git a/Userland/Games/Hearts/main.cpp b/Userland/Games/Hearts/main.cpp index cd2327215a..98fd8b51e4 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", [&](auto&) { change_settings(); }))); TRY(game_menu->try_add_separator()); |