projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f7125
)
Viewport: Don't draw the cursors and markers antialiased
author
Jens Steinhauser
<jens.steinhauser@gmail.com>
Thu, 3 Sep 2015 13:19:20 +0000
(15:19 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Fri, 4 Sep 2015 10:54:52 +0000
(12:54 +0200)
After adding them or zooming around, the cursors and markers could
appear washed out.
pv/view/viewport.cpp
patch
|
blob
|
history
diff --git
a/pv/view/viewport.cpp
b/pv/view/viewport.cpp
index d555a792ed5f1ad8a09093709919c1c25c75e48d..a4b6680a7fe57bd02ed6b5b2e59888266a4d2552 100644
(file)
--- a/
pv/view/viewport.cpp
+++ b/
pv/view/viewport.cpp
@@
-175,6
+175,8
@@
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);
for (const shared_ptr<TimeItem> t : time_items)