From cfe7f6fe50eaf80c7cbc5a695d77503736cd6114 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 13 Apr 2021 18:56:29 +0200 Subject: [PATCH] Pong: Alt shortcuts in top-level menus --- Userland/Games/Pong/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Games/Pong/main.cpp b/Userland/Games/Pong/main.cpp index b967245b64..8d26c56400 100644 --- a/Userland/Games/Pong/main.cpp +++ b/Userland/Games/Pong/main.cpp @@ -76,12 +76,12 @@ int main(int argc, char** argv) auto menubar = GUI::Menubar::construct(); - auto& app_menu = menubar->add_menu("Game"); + auto& app_menu = menubar->add_menu("&Game"); app_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) { GUI::Application::the()->quit(); })); - auto& help_menu = menubar->add_menu("Help"); + auto& help_menu = menubar->add_menu("&Help"); help_menu.add_action(GUI::CommonActions::make_about_action("Pong", app_icon, window)); window->set_menubar(move(menubar));