diff options
author | rhin123 <ryanrhin@gmail.com> | 2019-09-04 16:29:47 -0500 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-05 09:40:54 +0200 |
commit | 7df4cfe606d5aea04d3135975eef9933e6747fd7 (patch) | |
tree | 5177e8b813e9a1a70207fa503ec5c9be6e69eb5b /Applications | |
parent | 86c68210f0afb9d37874cdc209b311bcbc109a6d (diff) | |
download | serenity-7df4cfe606d5aea04d3135975eef9933e6747fd7.zip |
IRCCient: Added GCommonActions
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/IRCClient/IRCAppWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<GMenuBar>(); auto app_menu = make<GMenu>("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; |