From 7df4cfe606d5aea04d3135975eef9933e6747fd7 Mon Sep 17 00:00:00 2001 From: rhin123 Date: Wed, 4 Sep 2019 16:29:47 -0500 Subject: [PATCH] IRCCient: Added GCommonActions --- Applications/IRCClient/IRCAppWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/IRCClient/IRCAppWindow.cpp b/Applications/IRCClient/IRCAppWindow.cpp index 74792a3e84..a6ec506974 100644 --- a/Applications/IRCClient/IRCAppWindow.cpp +++ b/Applications/IRCClient/IRCAppWindow.cpp @@ -124,7 +124,7 @@ void IRCAppWindow::setup_menus() { auto menubar = make(); auto app_menu = make("IRC Client"); - app_menu->add_action(GAction::create("Quit", { Mod_Alt, Key_F4 }, [](const GAction&) { + app_menu->add_action(GCommonActions::make_quit_action([] { dbgprintf("Terminal: Quit menu activated!\n"); GApplication::the().quit(0); return;