summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorrhin123 <ryanrhin@gmail.com>2019-09-04 16:29:19 -0500
committerAndreas Kling <awesomekling@gmail.com>2019-09-05 09:40:54 +0200
commit86c68210f0afb9d37874cdc209b311bcbc109a6d (patch)
tree85c7b65aa5201e2caf0a46c4b65e010316e3a933 /Applications
parentf468634494038fea1106b7f378fbf9a6205c980d (diff)
downloadserenity-86c68210f0afb9d37874cdc209b311bcbc109a6d.zip
FileManager: Added GCommonActions
Diffstat (limited to 'Applications')
-rw-r--r--Applications/FileManager/main.cpp2
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));