mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02: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
Notes:
sideshowbarker
2024-07-17 14:20:56 +09:00
Author: https://github.com/kleinesfilmroellchen Commit: https://github.com/SerenityOS/serenity/commit/b34b939a03 Pull-request: https://github.com/SerenityOS/serenity/pull/13516 Issue: https://github.com/SerenityOS/serenity/issues/65
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user