From 962b65b42f1150a83b0c91c71ae02cf4ae358656 Mon Sep 17 00:00:00 2001 From: rhin123 Date: Wed, 4 Sep 2019 16:32:08 -0500 Subject: [PATCH] Piano: Added GCommonActions --- Applications/Piano/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Piano/main.cpp b/Applications/Piano/main.cpp index 47cf2dd18d..c60c22b248 100644 --- a/Applications/Piano/main.cpp +++ b/Applications/Piano/main.cpp @@ -46,7 +46,7 @@ int main(int argc, char** argv) auto menubar = make(); auto app_menu = make("Piano"); - 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; }));