1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 02:04:59 +00:00

LibGUI: Replace ColumnMetadata::sortable => Model::is_column_sortable()

Now there's only one thing left in ColumnMetadata: the initial width.
This commit is contained in:
Andreas Kling 2020-05-21 19:45:15 +02:00
parent 2e03bded43
commit c666c251c8
6 changed files with 12 additions and 9 deletions

View file

@ -47,6 +47,7 @@ public:
virtual int key_column() const override { return m_key_column; }
virtual SortOrder sort_order() const override { return m_sort_order; }
virtual void set_key_column_and_sort_order(int, SortOrder) override;
virtual bool is_column_sortable(int column_index) const override;
ModelIndex map_to_target(const ModelIndex&) const;