From: Joel Holdsworth Date: Sat, 2 Mar 2013 08:49:05 +0000 (+0000) Subject: Explicitly set analog signal painting colour X-Git-Tag: pulseview-0.1.0~121 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=043ce0607fad7d72bf1e1488639e81f4adfd6613;p=pulseview.git Explicitly set analog signal painting colour --- diff --git a/pv/view/analogsignal.cpp b/pv/view/analogsignal.cpp index 7ea6a6fd..209512b5 100644 --- a/pv/view/analogsignal.cpp +++ b/pv/view/analogsignal.cpp @@ -82,6 +82,7 @@ void AnalogSignal::paint(QPainter &p, int y, int left, int right, double scale, *point++ = QPointF(x, samples[sample] + y); } + p.setPen(_colour); p.drawPoints(points, point - points); delete[] points;