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