mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:28:11 +00:00
LibGUI: Make GTableModel a retainable object.
It became clear that this class needs to support multiple owners.
This commit is contained in:
parent
41c744b3c8
commit
f47945759b
22 changed files with 44 additions and 34 deletions
|
@ -31,10 +31,10 @@ IRCClient::IRCClient(const String& address, int port)
|
|||
: m_hostname(address)
|
||||
, m_port(port)
|
||||
, m_nickname("anon")
|
||||
, m_client_window_list_model(IRCWindowListModel::create(*this))
|
||||
, m_log(IRCLogBuffer::create())
|
||||
{
|
||||
m_socket = new GTCPSocket(this);
|
||||
m_client_window_list_model = new IRCWindowListModel(*this);
|
||||
}
|
||||
|
||||
IRCClient::~IRCClient()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue