From: Joel Holdsworth Date: Sat, 3 Oct 2015 22:37:23 +0000 (-0600) Subject: Viewport: Anti-alias time items, but not row items X-Git-Tag: pulseview-0.3.0~64 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=34ec096859764f71c210ec7c271fcac2b96374cc;p=pulseview.git Viewport: Anti-alias time items, but not row items --- diff --git a/pv/view/viewport.cpp b/pv/view/viewport.cpp index 1b3d3717..ac494272 100644 --- a/pv/view/viewport.cpp +++ b/pv/view/viewport.cpp @@ -179,10 +179,10 @@ 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); + + p.setRenderHint(QPainter::Antialiasing, false); for (const shared_ptr t : time_items) t->paint_fore(p, pp);