diff options
Diffstat (limited to 'LibGUI/GWindow.h')
-rw-r--r-- | LibGUI/GWindow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GWindow.h b/LibGUI/GWindow.h index 3178e1820b..d88438016b 100644 --- a/LibGUI/GWindow.h +++ b/LibGUI/GWindow.h @@ -45,7 +45,7 @@ public: int window_id() const { return m_window_id; } String title() const; - void set_title(const String&); + void set_title(const StringView&); bool show_titlebar() const { return m_show_titlebar; }; void set_show_titlebar(bool show) { m_show_titlebar = show; }; @@ -119,7 +119,7 @@ public: void set_override_cursor(GStandardCursor); String icon_path() const { return m_icon_path; } - void set_icon_path(const String&); + void set_icon_path(const StringView&); Vector<GWidget*> focusable_widgets() const; |