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/button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dggui/button.h') diff --git a/dggui/button.h b/dggui/button.h index f1b6584..56c7aaa 100644 --- a/dggui/button.h +++ b/dggui/button.h @@ -41,7 +41,7 @@ public: protected: // From Widget: - virtual void repaintEvent(RepaintEvent* e) override; + void repaintEvent(const RepaintEvent& event) override; private: TexturedBox box_up{getImageCache(), ":resources/pushbutton.png", -- cgit v1.2.3