mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibGUI: Move Model::index() out of line
This commit is contained in:
@@ -68,6 +68,11 @@ ModelIndex Model::create_index(int row, int column, const void* data) const
|
||||
return ModelIndex(*this, row, column, const_cast<void*>(data));
|
||||
}
|
||||
|
||||
ModelIndex Model::index(int row, int column, const ModelIndex&) const
|
||||
{
|
||||
return create_index(row, column);
|
||||
}
|
||||
|
||||
ModelIndex Model::sibling(int row, int column, const ModelIndex& parent) const
|
||||
{
|
||||
if (!parent.is_valid())
|
||||
|
||||
Reference in New Issue
Block a user