diff options
author | rhin123 <ryanrhin@gmail.com> | 2019-09-04 16:29:19 -0500 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-05 09:40:54 +0200 |
commit | 86c68210f0afb9d37874cdc209b311bcbc109a6d (patch) | |
tree | 85c7b65aa5201e2caf0a46c4b65e010316e3a933 /Applications | |
parent | f468634494038fea1106b7f378fbf9a6205c980d (diff) | |
download | serenity-86c68210f0afb9d37874cdc209b311bcbc109a6d.zip |
FileManager: Added GCommonActions
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/FileManager/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index af587332c6..b495f3bcb7 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -155,7 +155,7 @@ int main(int argc, char** argv) app_menu->add_action(copy_action); app_menu->add_action(delete_action); 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); })); menubar->add_menu(move(app_menu)); |