From: Jens Steinhauser Date: Thu, 3 Sep 2015 13:19:20 +0000 (+0200) Subject: Viewport: Don't draw the cursors and markers antialiased X-Git-Tag: pulseview-0.3.0~115 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=32c589f0f6a2218e81d4ee984335c4a88c79b35f Viewport: Don't draw the cursors and markers antialiased After adding them or zooming around, the cursors and markers could appear washed out. --- diff --git a/pv/view/viewport.cpp b/pv/view/viewport.cpp index d555a792..a4b6680a 100644 --- a/pv/view/viewport.cpp +++ b/pv/view/viewport.cpp @@ -175,6 +175,8 @@ void Viewport::paintEvent(QPaintEvent*) for (const shared_ptr r : row_items) r->paint_mid(p, pp); + p.setRenderHint(QPainter::Antialiasing, false); + for (const shared_ptr r : row_items) r->paint_fore(p, pp); for (const shared_ptr t : time_items)