From f8daa9ef022f337b786a942311d28588a304e94b Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 5 Mar 2020 11:14:34 +0100 Subject: [PATCH] Inspector: Don't show child count in remote object tree You can just open a node if you want to see its children. --- 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 aed1bd5b57..d772c96aa9 100644 --- a/DevTools/Inspector/RemoteObjectGraphModel.cpp +++ b/DevTools/Inspector/RemoteObjectGraphModel.cpp @@ -106,7 +106,7 @@ GUI::Variant RemoteObjectGraphModel::data(const GUI::ModelIndex& index, Role rol return m_object_icon; } if (role == Role::Display) { - return String::format("%s{%s} (%d)", remote_object->class_name.characters(), remote_object->address.characters(), remote_object->children.size()); + return String::format("%s{%s}", remote_object->class_name.characters(), remote_object->address.characters()); } return {}; }