diff options
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) |