summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/IRCAppWindow.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-15 14:01:04 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-15 14:01:04 +0100
commita23dddc56fe753ae5c81a08da66df39aa955d381 (patch)
tree9ba995df5f5673a77a0258c41a39e53a2ffac79b /Applications/IRCClient/IRCAppWindow.h
parenteba5fd3f467846c989dda8e476bb54088c643c28 (diff)
downloadserenity-a23dddc56fe753ae5c81a08da66df39aa955d381.zip
IRCClient: Use a model for the window list.
Diffstat (limited to 'Applications/IRCClient/IRCAppWindow.h')
-rw-r--r--Applications/IRCClient/IRCAppWindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/IRCClient/IRCAppWindow.h b/Applications/IRCClient/IRCAppWindow.h
index 33b7404659..fb57f7cd77 100644
--- a/Applications/IRCClient/IRCAppWindow.h
+++ b/Applications/IRCClient/IRCAppWindow.h
@@ -14,10 +14,10 @@ private:
void setup_client();
void setup_widgets();
- void create_subwindow(IRCClientWindow::Type, const String& name);
+ IRCClientWindow& create_subwindow(IRCClientWindow::Type, const String& name);
+ IRCClientWindow& ensure_window(IRCClientWindow::Type, const String& name);
IRCClient m_client;
GWidget* m_subwindow_container { nullptr };
- Vector<IRCClientWindow*> m_subwindows;
};