diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-01-08 12:43:07 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-01-22 23:15:29 +0100 |
commit | 414606b64aa6c6cf3209861b81a92a6af873937f (patch) | |
tree | 408992e785dde59748aa2f94bd8666f190575567 /dggui/toggle.h | |
parent | 235ad6fbbce2e0ae9e06db960a5ba3b099936ace (diff) |
Make UI events const refs and celan up redundant use of virtual with override.event_cleanup
Diffstat (limited to 'dggui/toggle.h')
-rw-r--r-- | dggui/toggle.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dggui/toggle.h b/dggui/toggle.h index 0fa844b..e308822 100644 --- a/dggui/toggle.h +++ b/dggui/toggle.h @@ -52,9 +52,9 @@ public: protected: // From Widget: - virtual void buttonEvent(ButtonEvent* buttonEvent) override; - virtual void mouseLeaveEvent() override; - virtual void mouseEnterEvent() override; + void buttonEvent(const ButtonEvent& buttonEvent) override; + void mouseLeaveEvent() override; + void mouseEnterEvent() override; bool state{false}; bool clicked{false}; |