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

Minesweeper: Added GCommonActions

This commit is contained in:
rhin123 2019-09-04 16:33:31 -05:00 committed by Andreas Kling
parent 4f3812ad14
commit aab28ea9c0

View file

@ -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;
}));