mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibGUI: Make FilteringProxyModel factory function return ErrorOr
This commit is contained in:
parent
71414821b4
commit
dbab20782e
2 changed files with 3 additions and 3 deletions
|
@ -89,7 +89,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
search_model.invalidate();
|
||||
}
|
||||
};
|
||||
search_list_view->set_model(GUI::FilteringProxyModel::construct(manual_model));
|
||||
search_list_view->set_model(TRY(GUI::FilteringProxyModel::create(manual_model)));
|
||||
search_list_view->model()->invalidate();
|
||||
|
||||
tree_view->set_model(manual_model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue