diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-14 17:04:31 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-14 17:17:17 +0200 |
commit | 3ed5a73edea567002e9cd38dd475e376357204d2 (patch) | |
tree | 63af348e526ee413d7202e7bb443371ddf50d57c /Userland/DevTools/Profiler/ProfileModel.h | |
parent | c22296505cab8f1d19ca4bbca99ded57480b327f (diff) | |
download | serenity-3ed5a73edea567002e9cd38dd475e376357204d2.zip |
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.
Diffstat (limited to 'Userland/DevTools/Profiler/ProfileModel.h')
-rw-r--r-- | Userland/DevTools/Profiler/ProfileModel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/Profiler/ProfileModel.h b/Userland/DevTools/Profiler/ProfileModel.h index 5678a077ca..84c685940e 100644 --- a/Userland/DevTools/Profiler/ProfileModel.h +++ b/Userland/DevTools/Profiler/ProfileModel.h @@ -37,6 +37,7 @@ public: virtual GUI::ModelIndex parent_index(const GUI::ModelIndex&) const override; virtual void update() override; virtual int tree_column() const override { return Column::StackFrame; } + virtual bool is_column_sortable(int) const override { return false; } private: explicit ProfileModel(Profile&); |