summaryrefslogtreecommitdiff
path: root/LibGUI/GEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'LibGUI/GEvent.h')
-rw-r--r--LibGUI/GEvent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GEvent.h b/LibGUI/GEvent.h
index 54e111dfe3..70da4b4b51 100644
--- a/LibGUI/GEvent.h
+++ b/LibGUI/GEvent.h
@@ -82,7 +82,7 @@ public:
class GWMWindowStateChangedEvent : public GWMEvent {
public:
- GWMWindowStateChangedEvent(int client_id, int window_id, const String& title, const Rect& rect, bool is_active, GWindowType window_type, bool is_minimized)
+ GWMWindowStateChangedEvent(int client_id, int window_id, const StringView& title, const Rect& rect, bool is_active, GWindowType window_type, bool is_minimized)
: GWMEvent(GEvent::Type::WM_WindowStateChanged, client_id, window_id)
, m_title(title)
, m_rect(rect)
@@ -122,7 +122,7 @@ private:
class GWMWindowIconChangedEvent : public GWMEvent {
public:
- GWMWindowIconChangedEvent(int client_id, int window_id, const String& icon_path)
+ GWMWindowIconChangedEvent(int client_id, int window_id, const StringView& icon_path)
: GWMEvent(GEvent::Type::WM_WindowIconChanged, client_id, window_id)
, m_icon_path(icon_path)
{