mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
GModel: Add GModelIndex argument to row_count() and column_count().
This is in preparation for supporting hierarchical models.
This commit is contained in:
@@ -15,12 +15,12 @@ IRCWindowListModel::~IRCWindowListModel()
|
||||
{
|
||||
}
|
||||
|
||||
int IRCWindowListModel::row_count() const
|
||||
int IRCWindowListModel::row_count(const GModelIndex&) const
|
||||
{
|
||||
return m_client.window_count();
|
||||
}
|
||||
|
||||
int IRCWindowListModel::column_count() const
|
||||
int IRCWindowListModel::column_count(const GModelIndex&) const
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user