From f2609281a3ee7b2f26c2a826a88f9f1b648b7836 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Wed, 17 May 2023 22:13:58 +0200 Subject: [PATCH] CatDog: Stop recognizing name of deleted program Inspector was deleted a long time ago in commit 16c47ccff632f520422c81d96681e3cdff358ddf, and likely isn't coming back any time soon. --- Userland/Demos/CatDog/CatDog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Demos/CatDog/CatDog.cpp b/Userland/Demos/CatDog/CatDog.cpp index 598a9db5c0..fd34b224dd 100644 --- a/Userland/Demos/CatDog/CatDog.cpp +++ b/Userland/Demos/CatDog/CatDog.cpp @@ -81,7 +81,7 @@ CatDog::State CatDog::special_application_states() const return State::Artist; auto maybe_inspector_program = proc_info.processes.first_matching([](auto& process) { - return process.name.equals_ignoring_ascii_case("inspector"sv) || process.name.equals_ignoring_ascii_case("systemmonitor"sv) || process.name.equals_ignoring_ascii_case("profiler"sv); + return process.name.equals_ignoring_ascii_case("systemmonitor"sv) || process.name.equals_ignoring_ascii_case("profiler"sv); }); if (maybe_inspector_program.has_value()) return State::Inspector;