mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:18:12 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -14,7 +14,7 @@ REGISTER_WIDGET(GUI, GroupBox)
|
|||
|
||||
namespace GUI {
|
||||
|
||||
GroupBox::GroupBox(const StringView& title)
|
||||
GroupBox::GroupBox(StringView title)
|
||||
: m_title(title)
|
||||
{
|
||||
REGISTER_STRING_PROPERTY("title", title, set_title);
|
||||
|
@ -58,7 +58,7 @@ void GroupBox::fonts_change_event(FontsChangeEvent& event)
|
|||
invalidate_layout();
|
||||
}
|
||||
|
||||
void GroupBox::set_title(const StringView& title)
|
||||
void GroupBox::set_title(StringView title)
|
||||
{
|
||||
if (m_title == title)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue