summaryrefslogtreecommitdiff
path: root/plugingui/led.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-07 10:39:46 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-07 10:39:46 +0100
commita65ca7af57feaf7a4ea73f7e071a72eb9b3a1e24 (patch)
tree6cf9fa3b8b57513b8eae030bdc6e1a18495d7e75 /plugingui/led.cc
parent60109b8a737059058d2b0664c7ea88ec501490f7 (diff)
Refactored Painter.
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: