projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
769a79b
)
Viewport: Anti-alias time items, but not row items
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 3 Oct 2015 22:37:23 +0000
(16:37 -0600)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 18 Oct 2015 21:32:30 +0000
(15:32 -0600)
pv/view/viewport.cpp
patch
|
blob
|
history
diff --git
a/pv/view/viewport.cpp
b/pv/view/viewport.cpp
index 1b3d371748b844255e0f5ef8b29b311d8130a538..ac494272de8705522a6c1ca43e073dbd3f9d23d0 100644
(file)
--- a/
pv/view/viewport.cpp
+++ b/
pv/view/viewport.cpp
@@
-179,10
+179,10
@@
void Viewport::paintEvent(QPaintEvent*)
for (const shared_ptr<RowItem> r : row_items)
r->paint_mid(p, pp);
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);
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);
for (const shared_ptr<TimeItem> t : time_items)
t->paint_fore(p, pp);