summaryrefslogtreecommitdiff
path: root/Userland/Games/GameOfLife/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Games/GameOfLife/main.cpp')
-rw-r--r--Userland/Games/GameOfLife/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/GameOfLife/main.cpp b/Userland/Games/GameOfLife/main.cpp
index e3db2efbdd..40ad80f203 100644
--- a/Userland/Games/GameOfLife/main.cpp
+++ b/Userland/Games/GameOfLife/main.cpp
@@ -126,7 +126,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
rotate_pattern_action->set_enabled(false);
(void)TRY(main_toolbar.try_add_action(rotate_pattern_action));
- auto game_menu = TRY(window->try_add_menu("&Game"));
+ auto game_menu = TRY(window->try_add_menu("&Game"_short_string));
TRY(game_menu->try_add_action(clear_board_action));
TRY(game_menu->try_add_action(randomize_cells_action));
@@ -138,7 +138,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
GUI::Application::the()->quit();
})));
- auto help_menu = TRY(window->try_add_menu("&Help"));
+ auto help_menu = TRY(window->try_add_menu("&Help"_short_string));
TRY(help_menu->try_add_action(GUI::CommonActions::make_command_palette_action(window)));
TRY(help_menu->try_add_action(GUI::CommonActions::make_help_action([](auto&) {
Desktop::Launcher::open(URL::create_with_file_scheme("/usr/share/man/man6/GameOfLife.md"), "/bin/Help");