mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 05:08:56 +00:00
LibGUI: Remove an unnecessarily specific inline capacity
This commit is contained in:
committed by
Ali Mohammad Pur
parent
8419eef85e
commit
2d91ba2737
@@ -288,7 +288,7 @@ bool SortingProxyModel::is_searchable() const
|
||||
return source().is_searchable();
|
||||
}
|
||||
|
||||
Vector<ModelIndex, 1> SortingProxyModel::matches(const StringView& searching, unsigned flags, const ModelIndex& proxy_index)
|
||||
Vector<ModelIndex> SortingProxyModel::matches(const StringView& searching, unsigned flags, const ModelIndex& proxy_index)
|
||||
{
|
||||
auto found_indices = source().matches(searching, flags, map_to_source(proxy_index));
|
||||
for (size_t i = 0; i < found_indices.size(); i++)
|
||||
|
||||
Reference in New Issue
Block a user