From aab28ea9c055cdd05844e7432f30218a031755f3 Mon Sep 17 00:00:00 2001 From: rhin123 Date: Wed, 4 Sep 2019 16:33:31 -0500 Subject: [PATCH] Minesweeper: Added GCommonActions --- Games/Minesweeper/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Games/Minesweeper/main.cpp b/Games/Minesweeper/main.cpp index a0e5d217b8..f7b4125f2a 100644 --- a/Games/Minesweeper/main.cpp +++ b/Games/Minesweeper/main.cpp @@ -67,7 +67,7 @@ int main(int argc, char** argv) app_menu->add_action(*chord_toggler_action); app_menu->add_separator(); - app_menu->add_action(GAction::create("Quit", { Mod_Alt, Key_F4 }, [](const GAction&) { + app_menu->add_action(GCommonActions::make_quit_action([] { GApplication::the().quit(0); return; }));