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/verticalline.cc | |
parent | 60109b8a737059058d2b0664c7ea88ec501490f7 (diff) |
Refactored Painter.
Diffstat (limited to 'plugingui/verticalline.cc')
-rw-r--r-- | plugingui/verticalline.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/verticalline.cc b/plugingui/verticalline.cc index 53d82a6..bbf0d28 100644 --- a/plugingui/verticalline.cc +++ b/plugingui/verticalline.cc @@ -36,6 +36,6 @@ GUI::VerticalLine::VerticalLine(GUI::Widget *parent) void GUI::VerticalLine::repaintEvent(RepaintEvent *e) { (void)e; - GUI::Painter p(this); - p.drawImageStretched(0, 0, &vline, width(), height()); + GUI::Painter p(*this); + p.drawImageStretched(0, 0, vline, width(), height()); } |