mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 14:47:34 +00:00
FileManager: Added GCommonActions
This commit is contained in:
parent
f468634494
commit
86c68210f0
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ int main(int argc, char** argv)
|
||||||
app_menu->add_action(copy_action);
|
app_menu->add_action(copy_action);
|
||||||
app_menu->add_action(delete_action);
|
app_menu->add_action(delete_action);
|
||||||
app_menu->add_separator();
|
app_menu->add_separator();
|
||||||
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);
|
GApplication::the().quit(0);
|
||||||
}));
|
}));
|
||||||
menubar->add_menu(move(app_menu));
|
menubar->add_menu(move(app_menu));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue