mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
Profiler: Don't return constant copies of GUI::ModelIndex
This commit is contained in:
parent
39a4c0e6ce
commit
e727605007
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ FlameGraphView::FlameGraphView(GUI::Model& model, int text_column, int width_col
|
|||
layout_bars();
|
||||
}
|
||||
|
||||
GUI::ModelIndex const FlameGraphView::hovered_index() const
|
||||
GUI::ModelIndex FlameGraphView::hovered_index() const
|
||||
{
|
||||
if (!m_hovered_bar)
|
||||
return GUI::ModelIndex();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue