1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

Profiler: Don't return constant copies of GUI::ModelIndex

This commit is contained in:
Hendiadyoin1 2021-12-22 16:39:42 +01:00 committed by Brian Gianforcaro
parent 39a4c0e6ce
commit e727605007
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ public:
Function<void()> on_hover_change;
GUI::ModelIndex const hovered_index() const;
GUI::ModelIndex hovered_index() const;
protected:
virtual void model_did_update(unsigned flags) override;