summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorrhin123 <ryanrhin@gmail.com>2019-09-04 16:32:08 -0500
committerAndreas Kling <awesomekling@gmail.com>2019-09-05 09:40:54 +0200
commit962b65b42f1150a83b0c91c71ae02cf4ae358656 (patch)
tree8560894d5d67afd78104fd4d26c7ad861f4da9f7 /Applications
parenta538968cc2a4609bc68fd10b7a47cfabe54c166a (diff)
downloadserenity-962b65b42f1150a83b0c91c71ae02cf4ae358656.zip
Piano: Added GCommonActions
Diffstat (limited to 'Applications')
-rw-r--r--Applications/Piano/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Piano/main.cpp b/Applications/Piano/main.cpp
index 47cf2dd18d..c60c22b248 100644
--- a/Applications/Piano/main.cpp
+++ b/Applications/Piano/main.cpp
@@ -46,7 +46,7 @@ int main(int argc, char** argv)
auto menubar = make<GMenuBar>();
auto app_menu = make<GMenu>("Piano");
- 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);
return;
}));