mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
Piano: Added GCommonActions
This commit is contained in:
parent
a538968cc2
commit
962b65b42f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ int main(int argc, char** argv)
|
|||
auto menubar = make<GMenuBar>();
|
||||
|
||||
auto app_menu = make<GMenu>("Piano");
|
||||
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;
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue