diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-12 23:04:36 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-12 23:04:36 +0100 |
commit | f47153d437618519e9dd187337e0ec17c130ae96 (patch) | |
tree | 1417b3b646d6039d4efc00bee6e59017874ada9f | |
parent | 9a27ef6523746aaef0877b8860998660f3ddec42 (diff) | |
download | serenity-f47153d437618519e9dd187337e0ec17c130ae96.zip |
2048: Add separator before quit menu action
-rw-r--r-- | Userland/Games/2048/main.cpp | 4 |
1 files changed, 1 insertions, 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(); })); |