summaryrefslogtreecommitdiff
path: root/Applications/FileManager/DirectoryView.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-13 20:06:14 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-13 20:18:11 +0200
commit686ee2bf047bcf474747b49e2495885f00061c9f (patch)
tree6a8c03a632efb1fd8f3fa7fbe4d2156e0591ed7b /Applications/FileManager/DirectoryView.cpp
parent4088beb8eb6b1879bd1e0291d356cdf82eaa1d8c (diff)
downloadserenity-686ee2bf047bcf474747b49e2495885f00061c9f.zip
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.
Diffstat (limited to 'Applications/FileManager/DirectoryView.cpp')
-rw-r--r--Applications/FileManager/DirectoryView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/DirectoryView.cpp b/Applications/FileManager/DirectoryView.cpp
index a48a9ff8a1..391c16b2c3 100644
--- a/Applications/FileManager/DirectoryView.cpp
+++ b/Applications/FileManager/DirectoryView.cpp
@@ -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) {