summaryrefslogtreecommitdiff
path: root/Userland/Games/Breakout
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-01 10:45:39 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-01 17:40:54 +0200
commit4b0098e52f860ac346c42ba8a3bfdebf1de37f56 (patch)
treeb477de65ad7fc15a707dad93a0b8ead992bfda5b /Userland/Games/Breakout
parentb119fa5a0a6c12877d90f947849d6db0ae426187 (diff)
downloadserenity-4b0098e52f860ac346c42ba8a3bfdebf1de37f56.zip
Everywhere: Rename app_menu to file_menu or game_menu
Diffstat (limited to 'Userland/Games/Breakout')
-rw-r--r--Userland/Games/Breakout/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Games/Breakout/main.cpp b/Userland/Games/Breakout/main.cpp
index 7cd51dbd80..8ccd78cecb 100644
--- a/Userland/Games/Breakout/main.cpp
+++ b/Userland/Games/Breakout/main.cpp
@@ -49,14 +49,14 @@ int main(int argc, char** argv)
auto menubar = GUI::Menubar::construct();
- auto& app_menu = menubar->add_menu("Game");
- app_menu.add_action(GUI::Action::create_checkable("Pause", { {}, Key_P }, [&](auto& action) {
+ auto& game_menu = menubar->add_menu("&Game");
+ game_menu.add_action(GUI::Action::create_checkable("&Pause", { {}, Key_P }, [&](auto& action) {
game.set_paused(action.is_checked());
}));
- app_menu.add_separator();
+ game_menu.add_separator();
- app_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
+ game_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
GUI::Application::the()->quit();
}));