mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
@@ -13,12 +13,12 @@ IRCLogBufferModel::~IRCLogBufferModel()
|
||||
{
|
||||
}
|
||||
|
||||
int IRCLogBufferModel::row_count() const
|
||||
int IRCLogBufferModel::row_count(const GModelIndex&) const
|
||||
{
|
||||
return m_log_buffer->count();
|
||||
}
|
||||
|
||||
int IRCLogBufferModel::column_count() const
|
||||
int IRCLogBufferModel::column_count(const GModelIndex&) const
|
||||
{
|
||||
return Column::__Count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user