Inspector: Don't show child count in remote object tree

You can just open a node if you want to see its children.
This commit is contained in:
Andreas Kling 2020-03-05 11:14:34 +01:00
parent 6bcda1875e
commit f8daa9ef02
Notes: sideshowbarker 2024-07-19 08:54:09 +09:00

View file

@ -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 {};
}