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/helpbutton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dggui/helpbutton.h') diff --git a/dggui/helpbutton.h b/dggui/helpbutton.h index 639799a..b48c81b 100644 --- a/dggui/helpbutton.h +++ b/dggui/helpbutton.h @@ -44,7 +44,7 @@ public: protected: // From Widget: - virtual void repaintEvent(RepaintEvent* repaintEvent) override; + void repaintEvent(const RepaintEvent& repaintEvent) override; private: void showHelpText(); -- cgit v1.2.3