mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 07:05:08 +00:00
Applications: Map Alt+F4 to Quit in FileManager/ProcessManager/Terminal.
This commit is contained in:
parent
7c06431ff7
commit
b0c673265a
6 changed files with 35 additions and 10 deletions
|
@ -50,7 +50,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto menubar = make<GMenuBar>();
|
||||
auto app_menu = make<GMenu>("ProcessManager");
|
||||
app_menu->add_action(GAction::create("Quit", String(), [] (const GAction&) {
|
||||
app_menu->add_action(GAction::create("Quit", { Mod_Alt, Key_F4 }, [] (const GAction&) {
|
||||
GApplication::the().quit(0);
|
||||
return;
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue