From 78b12e1521a5ab4e0a212c0e125b76a813be6f64 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 25 Mar 2021 21:41:39 +0100 Subject: Userland: Turn all application menus into window menus :^) --- Userland/Games/Chess/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Userland/Games/Chess') diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp index 540cfe5587..2cf90b73e9 100644 --- a/Userland/Games/Chess/main.cpp +++ b/Userland/Games/Chess/main.cpp @@ -96,7 +96,7 @@ int main(int argc, char** argv) widget.set_coordinates(config->read_bool_entry("Style", "Coordinates", true)); auto menubar = GUI::MenuBar::construct(); - auto& app_menu = menubar->add_menu("Chess"); + auto& app_menu = menubar->add_menu("Game"); app_menu.add_action(GUI::Action::create("Resign", { Mod_None, Key_F3 }, [&](auto&) { widget.resign(); @@ -223,7 +223,7 @@ int main(int argc, char** argv) auto& help_menu = menubar->add_menu("Help"); help_menu.add_action(GUI::CommonActions::make_about_action("Chess", app_icon, window)); - app->set_menubar(move(menubar)); + window->set_menubar(move(menubar)); window->show(); widget.reset(); -- cgit v1.2.3