1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +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:
Andreas Kling 2019-08-20 19:45:08 +02:00
parent f7dce05c82
commit 076827a05d
4 changed files with 5 additions and 5 deletions

View file

@ -67,7 +67,7 @@ public:
void register_view(Badge<GAbstractView>, GAbstractView&);
void unregister_view(Badge<GAbstractView>, GAbstractView&);
Function<void(GModel&)> on_model_update;
Function<void()> on_update;
Function<void(const GModelIndex&)> on_selection_changed;
protected: