mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +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:
parent
7b145d810a
commit
b34b939a03
Notes:
sideshowbarker
2024-07-17 14:20:56 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: b34b939a03
Pull-request: https://github.com/SerenityOS/serenity/pull/13516
Issue: https://github.com/SerenityOS/serenity/issues/65
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue