mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Inspector: Implement RemoteObjectGraphModel::parent_index()
This makes GTreeView paint the tree lines correctly. It's a bit weird that this is needed, but straightforward to implement so meh.
This commit is contained in:
parent
2e4e4ad957
commit
68e94f0a2e
2 changed files with 17 additions and 0 deletions
|
@ -18,6 +18,7 @@ public:
|
|||
virtual int column_count(const GModelIndex& = GModelIndex()) const override;
|
||||
virtual GVariant data(const GModelIndex&, Role = Role::Display) const override;
|
||||
virtual GModelIndex index(int row, int column, const GModelIndex& parent = GModelIndex()) const override;
|
||||
virtual GModelIndex parent_index(const GModelIndex&) const;
|
||||
virtual void update() override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue