diff options
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/FileManager/main.cpp | 2 | ||||
-rw-r--r-- | Applications/ProcessManager/main.cpp | 2 | ||||
-rw-r--r-- | Applications/Terminal/main.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index 3e166b0661..a3a9eafed3 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -64,7 +64,7 @@ int main(int argc, char** argv) auto menubar = make<GMenuBar>(); auto app_menu = make<GMenu>("FileManager"); - 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; })); diff --git a/Applications/ProcessManager/main.cpp b/Applications/ProcessManager/main.cpp index c2d6c15df4..390af60790 100644 --- a/Applications/ProcessManager/main.cpp +++ b/Applications/ProcessManager/main.cpp @@ -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; })); diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp index 5d77272c1e..6bb0482efd 100644 --- a/Applications/Terminal/main.cpp +++ b/Applications/Terminal/main.cpp @@ -100,7 +100,7 @@ int main(int argc, char** argv) auto menubar = make<GMenuBar>(); auto app_menu = make<GMenu>("Terminal"); - app_menu->add_action(GAction::create("Quit", String(), [] (const GAction&) { + app_menu->add_action(GAction::create("Quit", { Mod_Alt, Key_F4 }, [] (const GAction&) { dbgprintf("Terminal: Quit menu activated!\n"); GApplication::the().quit(0); return; |