mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
Profiler: Make everything east-const :^)
This commit is contained in:
committed by
Andreas Kling
parent
cf8427b7b4
commit
ddccf451a9
@@ -19,12 +19,12 @@ SignpostsModel::~SignpostsModel()
|
||||
{
|
||||
}
|
||||
|
||||
int SignpostsModel::row_count(const GUI::ModelIndex&) const
|
||||
int SignpostsModel::row_count(GUI::ModelIndex const&) const
|
||||
{
|
||||
return m_profile.filtered_signpost_indices().size();
|
||||
}
|
||||
|
||||
int SignpostsModel::column_count(const GUI::ModelIndex&) const
|
||||
int SignpostsModel::column_count(GUI::ModelIndex const&) const
|
||||
{
|
||||
return Column::__Count;
|
||||
}
|
||||
@@ -51,7 +51,7 @@ String SignpostsModel::column_name(int column) const
|
||||
}
|
||||
}
|
||||
|
||||
GUI::Variant SignpostsModel::data(const GUI::ModelIndex& index, GUI::ModelRole role) const
|
||||
GUI::Variant SignpostsModel::data(GUI::ModelIndex const& index, GUI::ModelRole role) const
|
||||
{
|
||||
u32 event_index = m_profile.filtered_signpost_indices()[index.row()];
|
||||
auto const& event = m_profile.events().at(event_index);
|
||||
|
||||
Reference in New Issue
Block a user