summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Window.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-04-16 20:06:43 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-17 01:27:29 +0200
commit050648b2709a2ee30ec5ea20eb3c72b912fec0fe (patch)
tree195d85e8d601c259b947f7a76ea36b1ac4e2075d /Userland/Libraries/LibGUI/Window.h
parent942a5afd23ff41803118482551e7c961cb37281f (diff)
downloadserenity-050648b2709a2ee30ec5ea20eb3c72b912fec0fe.zip
LibGUI: Make Window::set_title() take a String
Diffstat (limited to 'Userland/Libraries/LibGUI/Window.h')
-rw-r--r--Userland/Libraries/LibGUI/Window.h2
1 files changed, 1 insertions, 1 deletions
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; }