1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 13:55:00 +00:00

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

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