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. --- plugingui/mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/mainwindow.cc') diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc index a4ad7b5..357ae5d 100644 --- a/plugingui/mainwindow.cc +++ b/plugingui/mainwindow.cc @@ -81,7 +81,7 @@ bool MainWindow::processEvents() return true; } -void MainWindow::repaintEvent(dggui::RepaintEvent* repaintEvent) +void MainWindow::repaintEvent(const dggui::RepaintEvent& repaintEvent) { if(!visible()) { -- cgit v1.2.3