summaryrefslogtreecommitdiff
path: root/plugingui/verticalline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/verticalline.cc')
-rw-r--r--plugingui/verticalline.cc4
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());
}