mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:15:09 +00:00
LibGUI: Make Model::data_matches() take Variant by const-reference
This commit is contained in:
parent
36354406db
commit
db694491f3
3 changed files with 3 additions and 3 deletions
|
@ -184,7 +184,7 @@ void ManualModel::update_section_node_on_toggle(const GUI::ModelIndex& index, co
|
|||
node->set_open(open);
|
||||
}
|
||||
|
||||
TriState ManualModel::data_matches(const GUI::ModelIndex& index, GUI::Variant term) const
|
||||
TriState ManualModel::data_matches(const GUI::ModelIndex& index, const GUI::Variant& term) const
|
||||
{
|
||||
auto view_result = page_view(page_path(index));
|
||||
if (view_result.is_error() || view_result.value().is_empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue