mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
Profiler: Mark model columns as non-sortable
This removes the ability to click on the column headers to resort. Resorting didn't do anything anyway.
This commit is contained in:
parent
c22296505c
commit
3ed5a73ede
3 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,7 @@ public:
|
|||
virtual String column_name(int) const override;
|
||||
virtual GUI::Variant data(const GUI::ModelIndex&, GUI::ModelRole) const override;
|
||||
virtual void update() override;
|
||||
virtual bool is_column_sortable(int) const override { return false; }
|
||||
|
||||
private:
|
||||
explicit SamplesModel(Profile&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue