mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:05:08 +00:00
LibGUI: Rename ModelClient::on_model_update() => model_did_update()
This follows the typical client callback naming scheme used elsewhere and doesn't collide with the "on_foo" Function hook convention.
This commit is contained in:
parent
4088beb8eb
commit
686ee2bf04
10 changed files with 30 additions and 17 deletions
|
@ -219,7 +219,7 @@ DirectoryView::~DirectoryView()
|
|||
m_model->unregister_client(*this);
|
||||
}
|
||||
|
||||
void DirectoryView::on_model_update(unsigned flags)
|
||||
void DirectoryView::model_did_update(unsigned flags)
|
||||
{
|
||||
if (flags & GUI::Model::UpdateFlag::InvalidateAllIndexes) {
|
||||
for_each_view_implementation([](auto& view) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue