From 9e20d393ac1bb599edd6e15ad83b8943ed86504b Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Fri, 18 Feb 2022 05:51:50 -0500 Subject: [PATCH] SystemMonitor: Add proper icon to the ProcessState window --- Userland/Applications/SystemMonitor/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Userland/Applications/SystemMonitor/main.cpp b/Userland/Applications/SystemMonitor/main.cpp index 314417aa24..8132325ab6 100644 --- a/Userland/Applications/SystemMonitor/main.cpp +++ b/Userland/Applications/SystemMonitor/main.cpp @@ -406,6 +406,9 @@ ErrorOr> build_process_window(pid_t pid) window->resize(480, 360); window->set_title(String::formatted("PID {} - System Monitor", pid)); + auto app_icon = GUI::Icon::default_icon("app-system-monitor"); + window->set_icon(app_icon.bitmap_for_size(16)); + auto main_widget = TRY(window->try_set_main_widget()); main_widget->set_fill_with_background_color(true); main_widget->set_layout();