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
commit b34b939a03
Notes: sideshowbarker 2024-07-17 14:20:56 +09:00

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;