summaryrefslogtreecommitdiff
path: root/plugingui/led.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/led.cc')
-rw-r--r--plugingui/led.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/led.cc b/plugingui/led.cc
index f8c001c..1d844c3 100644
--- a/plugingui/led.cc
+++ b/plugingui/led.cc
@@ -50,7 +50,7 @@ void LED::repaintEvent(RepaintEvent *e)
size_t h = height() - 1;
size_t w = width() - 1;
- Painter p(this);
+ Painter p(*this);
float alpha = 0.9;
switch(state) {
case Red: