mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-06 13:35:03 +00:00
StringViewize a bunch of things -- mostly LibGUI
This commit is contained in:
committed by
Andreas Kling
parent
f9ba7adae2
commit
1024dfa81a
@@ -14,7 +14,7 @@ GTabWidget::~GTabWidget()
|
||||
{
|
||||
}
|
||||
|
||||
void GTabWidget::add_widget(const String& title, GWidget* widget)
|
||||
void GTabWidget::add_widget(const StringView& title, GWidget* widget)
|
||||
{
|
||||
m_tabs.append({ title, widget });
|
||||
add_child(*widget);
|
||||
|
||||
Reference in New Issue
Block a user