mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +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
|
@ -8,8 +8,8 @@ IRCChannel::IRCChannel(IRCClient& client, const String& name)
|
|||
: m_client(client)
|
||||
, m_name(name)
|
||||
, m_log(IRCLogBuffer::create())
|
||||
, m_member_model(IRCChannelMemberListModel::create(*this))
|
||||
{
|
||||
m_member_model = new IRCChannelMemberListModel(*this);
|
||||
m_window = m_client.aid_create_window(this, IRCWindow::Channel, m_name);
|
||||
m_window->set_log_buffer(*m_log);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue