LibGUI: Remove `AbstractView::did_update_model()'

...and use `ModelClient::model_did_update()' instead.
This makes AbstractView a ModelClient (which it always was anyway).
This commit is contained in:
AnotherTest 2020-11-26 11:10:14 +03:30 committed by Andreas Kling
parent 868c315e51
commit 71de8b7480
Notes: sideshowbarker 2024-07-19 01:09:42 +09:00
13 changed files with 26 additions and 23 deletions

View file

@ -287,9 +287,9 @@ Gfx::IntPoint AbstractTableView::adjusted_position(const Gfx::IntPoint& position
return position.translated(horizontal_scrollbar().value() - frame_thickness(), vertical_scrollbar().value() - frame_thickness());
}
void AbstractTableView::did_update_model(unsigned flags)
void AbstractTableView::model_did_update(unsigned flags)
{
AbstractView::did_update_model(flags);
AbstractView::model_did_update(flags);
update_row_sizes();
update_column_sizes();
update_content_size();