1
Fork 0
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:
Andreas Kling 2021-05-14 17:04:31 +02:00
parent c22296505c
commit 3ed5a73ede
3 changed files with 3 additions and 0 deletions

View file

@ -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&);