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.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dggui/helpbutton.cc') diff --git a/dggui/helpbutton.cc b/dggui/helpbutton.cc index cc03112..a8c44d6 100644 --- a/dggui/helpbutton.cc +++ b/dggui/helpbutton.cc @@ -46,7 +46,7 @@ void HelpButton::setHelpText(const std::string& help_text) tip.setText(help_text); } -void HelpButton::repaintEvent(RepaintEvent* repaintEvent) +void HelpButton::repaintEvent(const RepaintEvent& repaintEvent) { Painter p(*this); -- cgit v1.2.3