mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 08:35:26 +00:00
StringViewize a bunch of things -- mostly LibGUI
This commit is contained in:
committed by
Andreas Kling
parent
f9ba7adae2
commit
1024dfa81a
@@ -104,7 +104,7 @@ void GWindow::hide()
|
||||
m_front_bitmap = nullptr;
|
||||
}
|
||||
|
||||
void GWindow::set_title(const String& title)
|
||||
void GWindow::set_title(const StringView& title)
|
||||
{
|
||||
m_title_when_windowless = title;
|
||||
if (!m_window_id)
|
||||
@@ -502,7 +502,7 @@ void GWindow::wm_event(GWMEvent&)
|
||||
{
|
||||
}
|
||||
|
||||
void GWindow::set_icon_path(const String& path)
|
||||
void GWindow::set_icon_path(const StringView& path)
|
||||
{
|
||||
if (m_icon_path == path)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user