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/tabbutton.h | |
parent | 235ad6fbbce2e0ae9e06db960a5ba3b099936ace (diff) |
Make UI events const refs and celan up redundant use of virtual with override.event_cleanup
Diffstat (limited to 'dggui/tabbutton.h')
-rw-r--r-- | dggui/tabbutton.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dggui/tabbutton.h b/dggui/tabbutton.h index ac9a37c..7a51ad6 100644 --- a/dggui/tabbutton.h +++ b/dggui/tabbutton.h @@ -58,8 +58,8 @@ public: protected: // From Widget: - virtual void repaintEvent(RepaintEvent* e) override; - virtual void scrollEvent(ScrollEvent* scroll_event) override; + void repaintEvent(const RepaintEvent& e) override; + void scrollEvent(const ScrollEvent& scroll_event) override; private: TabID tab_id; |