mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
GModel: Rename on_model_update(GModel&) => on_update()
Just simplifying the API of this hook a little bit.
This commit is contained in:
@@ -7,7 +7,7 @@ GSortingProxyModel::GSortingProxyModel(NonnullRefPtr<GModel>&& target)
|
||||
: m_target(move(target))
|
||||
, m_key_column(-1)
|
||||
{
|
||||
m_target->on_model_update = [this](GModel&) {
|
||||
m_target->on_update = [this] {
|
||||
resort();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user