Browse Source

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

You can just open a node if you want to see its children.
Andreas Kling 5 years ago
parent
commit
f8daa9ef02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      DevTools/Inspector/RemoteObjectGraphModel.cpp

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