mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 09:18:52 +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:
parent
f7dce05c82
commit
076827a05d
Notes:
sideshowbarker
2024-07-19 12:35:23 +09:00
Author: https://github.com/awesomekling
Commit: 076827a05d
4 changed files with 5 additions and 5 deletions
|
@ -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();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue