summaryrefslogtreecommitdiff
path: root/dggui/powerbutton.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dggui/powerbutton.cc')
-rw-r--r--dggui/powerbutton.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dggui/powerbutton.cc b/dggui/powerbutton.cc
index 8a204f2..7bffc43 100644
--- a/dggui/powerbutton.cc
+++ b/dggui/powerbutton.cc
@@ -42,7 +42,7 @@ void PowerButton::setEnabled(bool enabled)
redraw();
}
-void PowerButton::repaintEvent(RepaintEvent* repaintEvent)
+void PowerButton::repaintEvent(const RepaintEvent& repaintEvent)
{
Painter p(*this);