1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 22:45:06 +00:00

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
13 changed files with 26 additions and 23 deletions

View file

@ -267,9 +267,9 @@ void ColumnsView::mousedown_event(MouseEvent& event)
}
}
void ColumnsView::did_update_model(unsigned flags)
void ColumnsView::model_did_update(unsigned flags)
{
AbstractView::did_update_model(flags);
AbstractView::model_did_update(flags);
// FIXME: Don't drop the columns on minor updates.
dbg() << "Model was updated; dropping columns :(";