From e8ed7f829ed29e29f5ff512faf118df6e4ccc89f Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Mon, 27 Jul 2020 01:24:13 +0200 Subject: [PATCH] SystemMenu: Add icon to 'Exit' menu item --- Services/SystemMenu/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/SystemMenu/main.cpp b/Services/SystemMenu/main.cpp index 02112635eed..4c08ea84218 100644 --- a/Services/SystemMenu/main.cpp +++ b/Services/SystemMenu/main.cpp @@ -202,7 +202,7 @@ NonnullRefPtr build_system_menu() posix_spawn(&child_pid, "/bin/About", nullptr, nullptr, const_cast(argv), environ); })); system_menu->add_separator(); - system_menu->add_action(GUI::Action::create("Exit...", [](auto&) { + system_menu->add_action(GUI::Action::create("Exit...", Gfx::Bitmap::load_from_file("/res/icons/16x16/power.png"), [](auto&) { auto command = ShutdownDialog::show(); if (command.size() == 0)