1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:48:14 +00:00

IRCClient: Start using GStackWidget for the subwindows.

This commit is contained in:
Andreas Kling 2019-03-15 16:12:51 +01:00
parent 497300c492
commit 1089cd1378
5 changed files with 22 additions and 20 deletions

View file

@ -52,6 +52,8 @@ void IRCClientWindowListModel::update()
did_update();
}
void IRCClientWindowListModel::activate(const GModelIndex&)
void IRCClientWindowListModel::activate(const GModelIndex& index)
{
if (on_activation)
on_activation(m_client.window_at(index.row()));
}