Skip to content

Commit

Permalink
Inspector: Don't show child count in remote object tree
Browse files Browse the repository at this point in the history
You can just open a node if you want to see its children.
  • Loading branch information
awesomekling committed Mar 5, 2020
1 parent 6bcda18 commit f8daa9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DevTools/Inspector/RemoteObjectGraphModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
}
Expand Down

0 comments on commit f8daa9e

Please sign in to comment.