mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibGUI: Rename ModelSelection::remove_matching => remove_all_matching
Let's be consistent with how Vector, HashTable and HashMap names these.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
namespace GUI {
|
||||
|
||||
void ModelSelection::remove_matching(Function<bool(const ModelIndex&)> filter)
|
||||
void ModelSelection::remove_all_matching(Function<bool(ModelIndex const&)> filter)
|
||||
{
|
||||
if (m_indices.remove_all_matching([&](ModelIndex const& index) { return filter(index); }))
|
||||
notify_selection_changed();
|
||||
|
||||
Reference in New Issue
Block a user