From 0b72d237c166458e40a77314ba8ffed03cf26520 Mon Sep 17 00:00:00 2001 From: implicitfield <114500360+implicitfield@users.noreply.github.com> Date: Sat, 8 Oct 2022 22:29:31 +0300 Subject: [PATCH] Taskbar: Display an icon for removing a widget --- Userland/Services/Taskbar/QuickLaunchWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Services/Taskbar/QuickLaunchWidget.cpp b/Userland/Services/Taskbar/QuickLaunchWidget.cpp index bfbfd37effa..02791fffd66 100644 --- a/Userland/Services/Taskbar/QuickLaunchWidget.cpp +++ b/Userland/Services/Taskbar/QuickLaunchWidget.cpp @@ -91,7 +91,7 @@ QuickLaunchWidget::QuickLaunchWidget() set_fixed_height(24); m_context_menu = GUI::Menu::construct(); - m_context_menu_default_action = GUI::Action::create("&Remove", [this](auto&) { + m_context_menu_default_action = GUI::Action::create("&Remove", Gfx::Bitmap::try_load_from_file("/res/icons/16x16/delete.png"sv).release_value_but_fixme_should_propagate_errors(), [this](auto&) { Config::remove_key("Taskbar"sv, quick_launch, m_context_menu_app_name); auto button = find_child_of_type_named(m_context_menu_app_name); if (button) {