mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
SystemMonitor: Added GCommonActions
This commit is contained in:
@@ -139,7 +139,7 @@ int main(int argc, char** argv)
|
||||
|
||||
auto menubar = make<GMenuBar>();
|
||||
auto app_menu = make<GMenu>("System Monitor");
|
||||
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;
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user