From 050648b2709a2ee30ec5ea20eb3c72b912fec0fe Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 16 Apr 2021 20:06:43 +0200 Subject: LibGUI: Make Window::set_title() take a String --- Userland/Libraries/LibGUI/Window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/Window.h') diff --git a/Userland/Libraries/LibGUI/Window.h b/Userland/Libraries/LibGUI/Window.h index c2e9627497..8f2a88124c 100644 --- a/Userland/Libraries/LibGUI/Window.h +++ b/Userland/Libraries/LibGUI/Window.h @@ -81,7 +81,7 @@ public: int window_id() const { return m_window_id; } String title() const; - void set_title(const StringView&); + void set_title(String); Color background_color() const { return m_background_color; } void set_background_color(Color color) { m_background_color = color; } -- cgit v1.2.3