mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
IRCCient: Added GCommonActions
This commit is contained in:
parent
86c68210f0
commit
7df4cfe606
Notes:
sideshowbarker
2024-07-19 12:17:50 +09:00
Author: https://github.com/RyanGrieb
Commit: 7df4cfe606
Pull-request: https://github.com/SerenityOS/serenity/pull/519
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue