1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:37:43 +00:00

Games: Add missing separators to the application menus

This commit is contained in:
Tibor Nagy 2020-08-17 13:20:11 +02:00 committed by Andreas Kling
parent a27d782dd6
commit e3d1ea34ff
3 changed files with 5 additions and 2 deletions

View file

@ -64,6 +64,7 @@ int main(int argc, char** argv)
app_menu.add_action(GUI::Action::create("New game", { Mod_None, Key_F2 }, [&](auto&) {
game.reset();
}));
app_menu.add_separator();
app_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
GUI::Application::the()->quit();
}));