summaryrefslogtreecommitdiff
path: root/Userland/Games/GameOfLife/main.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-05-15 17:55:27 +0100
committerLinus Groh <mail@linusgroh.de>2021-05-15 17:55:27 +0100
commit9f9f54a9ad9113c4caa804bc474bbbc7ff53c755 (patch)
treea5ecd360fc3f136ff72bc9f880360c14fb3648f4 /Userland/Games/GameOfLife/main.cpp
parent310ec7355065b868d3a92d1a1f1a97fb678b9837 (diff)
downloadserenity-9f9f54a9ad9113c4caa804bc474bbbc7ff53c755.zip
GameOfLife: Add separator before quit menu action
Diffstat (limited to 'Userland/Games/GameOfLife/main.cpp')
-rw-r--r--Userland/Games/GameOfLife/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/GameOfLife/main.cpp b/Userland/Games/GameOfLife/main.cpp
index 2bd42f02c0..7a5f586e96 100644
--- a/Userland/Games/GameOfLife/main.cpp
+++ b/Userland/Games/GameOfLife/main.cpp
@@ -120,7 +120,7 @@ int main(int argc, char** argv)
game_menu.add_separator();
game_menu.add_action(toggle_running_action);
game_menu.add_action(run_one_generation_action);
-
+ game_menu.add_separator();
game_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
GUI::Application::the()->quit();
}));