]> sigrok.org Git - pulseview.git/commitdiff
Viewport: Anti-alias time items, but not row items
authorJoel Holdsworth <redacted>
Sat, 3 Oct 2015 22:37:23 +0000 (16:37 -0600)
committerJoel Holdsworth <redacted>
Sun, 18 Oct 2015 21:32:30 +0000 (15:32 -0600)
pv/view/viewport.cpp

index 1b3d371748b844255e0f5ef8b29b311d8130a538..ac494272de8705522a6c1ca43e073dbd3f9d23d0 100644 (file)
@@ -179,10 +179,10 @@ void Viewport::paintEvent(QPaintEvent*)
        for (const shared_ptr<RowItem> r : row_items)
                r->paint_mid(p, pp);
 
-       p.setRenderHint(QPainter::Antialiasing, false);
-
        for (const shared_ptr<RowItem> r : row_items)
                r->paint_fore(p, pp);
+
+       p.setRenderHint(QPainter::Antialiasing, false);
        for (const shared_ptr<TimeItem> t : time_items)
                t->paint_fore(p, pp);