1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +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:
kleines Filmröllchen 2022-04-04 22:42:42 +02:00 committed by Andreas Kling
parent 7b145d810a
commit b34b939a03

View file

@ -21,6 +21,7 @@ public:
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 column_count(ModelIndex const& = ModelIndex()) const override;
virtual String column_name(int) const override;