From 414606b64aa6c6cf3209861b81a92a6af873937f Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 8 Jan 2022 12:43:07 +0100 Subject: Make UI events const refs and celan up redundant use of virtual with override. --- dggui/tabbutton.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dggui/tabbutton.h') 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; -- cgit v1.2.3