mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibGUI: Delegate the tree column in SortingProxyModel
This was never properly delegated to the source model, so the tree column would just always be zero.
This commit is contained in:
committed by
Andreas Kling
parent
7b145d810a
commit
b34b939a03
@@ -21,6 +21,7 @@ public:
|
|||||||
|
|
||||||
virtual ~SortingProxyModel() override;
|
virtual ~SortingProxyModel() override;
|
||||||
|
|
||||||
|
virtual int tree_column() const override { return m_source->tree_column(); }
|
||||||
virtual int row_count(ModelIndex const& = ModelIndex()) const override;
|
virtual int row_count(ModelIndex const& = ModelIndex()) const override;
|
||||||
virtual int column_count(ModelIndex const& = ModelIndex()) const override;
|
virtual int column_count(ModelIndex const& = ModelIndex()) const override;
|
||||||
virtual String column_name(int) const override;
|
virtual String column_name(int) const override;
|
||||||
|
|||||||
Reference in New Issue
Block a user