From f47153d437618519e9dd187337e0ec17c130ae96 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 12 May 2021 23:04:36 +0100 Subject: [PATCH] 2048: Add separator before quit menu action --- Userland/Games/2048/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Userland/Games/2048/main.cpp b/Userland/Games/2048/main.cpp index 50bd678454..590bca285c 100644 --- a/Userland/Games/2048/main.cpp +++ b/Userland/Games/2048/main.cpp @@ -182,13 +182,11 @@ int main(int argc, char** argv) game = redo_stack.take_last(); update(); })); - game_menu.add_separator(); - game_menu.add_action(GUI::Action::create("&Settings...", [&](auto&) { change_settings(); })); - + game_menu.add_separator(); game_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) { GUI::Application::the()->quit(); }));