summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorrhin123 <ryanrhin@gmail.com>2019-09-04 16:29:47 -0500
committerAndreas Kling <awesomekling@gmail.com>2019-09-05 09:40:54 +0200
commit7df4cfe606d5aea04d3135975eef9933e6747fd7 (patch)
tree5177e8b813e9a1a70207fa503ec5c9be6e69eb5b /Applications
parent86c68210f0afb9d37874cdc209b311bcbc109a6d (diff)
downloadserenity-7df4cfe606d5aea04d3135975eef9933e6747fd7.zip
IRCCient: Added GCommonActions
Diffstat (limited to 'Applications')
-rw-r--r--Applications/IRCClient/IRCAppWindow.cpp2
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;