diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-07 10:39:46 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-07 10:39:46 +0100 |
commit | a65ca7af57feaf7a4ea73f7e071a72eb9b3a1e24 (patch) | |
tree | 6cf9fa3b8b57513b8eae030bdc6e1a18495d7e75 /plugingui/listbox.cc | |
parent | 60109b8a737059058d2b0664c7ea88ec501490f7 (diff) |
Refactored Painter.
Diffstat (limited to 'plugingui/listbox.cc')
-rw-r--r-- | plugingui/listbox.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/listbox.cc b/plugingui/listbox.cc index 22263b0..a573e0e 100644 --- a/plugingui/listbox.cc +++ b/plugingui/listbox.cc @@ -101,7 +101,7 @@ void ListBox::clearSelectedValue() void ListBox::repaintEvent(RepaintEvent *e) { - Painter p(this); + Painter p(*this); p.clear(); @@ -112,7 +112,7 @@ void ListBox::repaintEvent(RepaintEvent *e) return; } - p.drawBox(0, 0, &box, w, h); + p.drawBox(0, 0, box, w, h); } void ListBox::resize(int width, int height) |