summaryrefslogtreecommitdiff
path: root/Applications/SystemMonitor/main.cpp
diff options
context:
space:
mode:
authorrhin123 <ryanrhin@gmail.com>2019-09-04 16:32:51 -0500
committerAndreas Kling <awesomekling@gmail.com>2019-09-05 09:40:54 +0200
commit1f666abcd28aaec352cc0f04a3293372f4782107 (patch)
tree3f75dc348460cff1fd84de0d8544aae620cc4a97 /Applications/SystemMonitor/main.cpp
parent2d8318a4742fe26a8741568160c5bf856576b400 (diff)
downloadserenity-1f666abcd28aaec352cc0f04a3293372f4782107.zip
SystemMonitor: Added GCommonActions
Diffstat (limited to 'Applications/SystemMonitor/main.cpp')
-rw-r--r--Applications/SystemMonitor/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/SystemMonitor/main.cpp b/Applications/SystemMonitor/main.cpp
index 45dfc0f93a..ba9c74ef62 100644
--- a/Applications/SystemMonitor/main.cpp
+++ b/Applications/SystemMonitor/main.cpp
@@ -139,7 +139,7 @@ int main(int argc, char** argv)
auto menubar = make<GMenuBar>();
auto app_menu = make<GMenu>("System Monitor");
- 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;
}));