summaryrefslogtreecommitdiff
path: root/plugingui/knob.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/knob.cc')
-rw-r--r--plugingui/knob.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/knob.cc b/plugingui/knob.cc
index 7b76d2e..4082aa3 100644
--- a/plugingui/knob.cc
+++ b/plugingui/knob.cc
@@ -167,8 +167,8 @@ void Knob::repaintEvent(RepaintEvent* repaintEvent)
int center_y = height() / 2;
Painter p(*this);
-
p.clear();
+
p.drawImageStretched(0, 0, img_knob, diameter, diameter);
float range = maximum - minimum;