summaryrefslogtreecommitdiff
path: root/plugingui/widget.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-18 21:00:48 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-18 21:00:48 +0100
commitc1973bc4d4ec9d8d18a690359a2d649905e35264 (patch)
tree045c4d5afc28422319c4e20322fbafe97fefd280 /plugingui/widget.cc
parentf11a61a36fa5e21b0c6c2362af2952a3f87408a0 (diff)
Refactored Slider. Expanded all event variable names (all was 'e' before). Changed all uievent enums to enum classes.
Diffstat (limited to 'plugingui/widget.cc')
-rw-r--r--plugingui/widget.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/widget.cc b/plugingui/widget.cc
index 6106f7c..942337f 100644
--- a/plugingui/widget.cc
+++ b/plugingui/widget.cc
@@ -173,17 +173,17 @@ Window *Widget::window()
return _window;
}
-void Widget::repaint_r(RepaintEvent *e)
+void Widget::repaint_r(RepaintEvent* repaintEvent)
{
Painter p(*this); // make sure pixbuf refcount is incremented.
- repaintEvent(e);
+ this->repaintEvent(repaintEvent);
std::vector<Widget*>::iterator i = children.begin();
while(i != children.end())
{
Widget *w = *i;
- w->repaint_r(e);
+ w->repaint_r(repaintEvent);
i++;
}
}