1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +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

@ -145,7 +145,7 @@ void ComboBox::set_editor_placeholder(StringView placeholder)
m_editor->set_placeholder(placeholder);
}
const String& ComboBox::editor_placeholder() const
String const& ComboBox::editor_placeholder() const
{
return m_editor->placeholder();
}
@ -170,7 +170,7 @@ void ComboBox::navigate_relative(int delta)
on_change(m_editor->text(), current_selected);
}
void ComboBox::selection_updated(const ModelIndex& index)
void ComboBox::selection_updated(ModelIndex const& index)
{
if (index.is_valid())
m_selected_index = index;
@ -274,7 +274,7 @@ String ComboBox::text() const
return m_editor->text();
}
void ComboBox::set_text(const String& text)
void ComboBox::set_text(String const& text)
{
m_editor->set_text(text);
}
@ -292,7 +292,7 @@ Model* ComboBox::model()
return m_list_view->model();
}
const Model* ComboBox::model() const
Model const* ComboBox::model() const
{
return m_list_view->model();
}