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

Inspector: Store remote object addresses as uintptr_t instead of String

This commit is contained in:
Andreas Kling 2020-03-05 16:30:27 +01:00
parent fbf345e03e
commit 6d66462254
5 changed files with 8 additions and 8 deletions

View file

@ -109,7 +109,7 @@ GUI::Variant RemoteObjectGraphModel::data(const GUI::ModelIndex& index, Role rol
return m_object_icon;
}
if (role == Role::Display) {
return String::format("%s{%s}", remote_object->class_name.characters(), remote_object->address.characters());
return String::format("%s{%p}", remote_object->class_name.characters(), remote_object->address);
}
return {};
}