1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -156,7 +156,7 @@ void ColumnsView::paint_event(PaintEvent& event)
}
}
void ColumnsView::push_column(const ModelIndex& parent_index)
void ColumnsView::push_column(ModelIndex const& parent_index)
{
VERIFY(model());
@ -206,7 +206,7 @@ void ColumnsView::update_column_sizes()
set_content_size({ total_width, total_height });
}
ModelIndex ColumnsView::index_at_event_position(const Gfx::IntPoint& a_position) const
ModelIndex ColumnsView::index_at_event_position(Gfx::IntPoint const& a_position) const
{
if (!model())
return {};
@ -306,7 +306,7 @@ void ColumnsView::move_cursor(CursorMovement movement, SelectionUpdate selection
set_cursor(new_index, selection_update);
}
Gfx::IntRect ColumnsView::content_rect(const ModelIndex& index) const
Gfx::IntRect ColumnsView::content_rect(ModelIndex const& index) const
{
if (!index.is_valid())
return {};