From 41c4e661e5de49409692a2191f7807dcc8dd2898 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 5 Mar 2020 09:24:10 +0100 Subject: [PATCH] Inspector: Make the window icon show up for Window objects again This broke in the GWindow => GUI::Window rename. --- DevTools/Inspector/RemoteObjectGraphModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevTools/Inspector/RemoteObjectGraphModel.cpp b/DevTools/Inspector/RemoteObjectGraphModel.cpp index 73d5d1dfc7..b5d6db23d0 100644 --- a/DevTools/Inspector/RemoteObjectGraphModel.cpp +++ b/DevTools/Inspector/RemoteObjectGraphModel.cpp @@ -98,7 +98,7 @@ GUI::Variant RemoteObjectGraphModel::data(const GUI::ModelIndex& index, Role rol { auto* remote_object = static_cast(index.internal_data()); if (role == Role::Icon) { - if (remote_object->class_name == "GWindow") + if (remote_object->class_name == "Window") return m_window_icon; return m_object_icon; }