projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
View: Store CursorPair in a shared_ptr
[pulseview.git]
/
pv
/
view
/
viewport.cpp
diff --git
a/pv/view/viewport.cpp
b/pv/view/viewport.cpp
index f5f0ab59fb2f949caf1bef931b506d0d859b185a..75902af2bc7588ba08fc9d4b6fe883e886e108c8 100644
(file)
--- a/
pv/view/viewport.cpp
+++ b/
pv/view/viewport.cpp
@@
-68,7
+68,7
@@
void Viewport::paintEvent(QPaintEvent*)
p.setRenderHint(QPainter::Antialiasing);
if (view_.cursors_shown())
p.setRenderHint(QPainter::Antialiasing);
if (view_.cursors_shown())
- view_.cursors()
.
draw_viewport_background(p, rect());
+ view_.cursors()
->
draw_viewport_background(p, rect());
const RowItemPaintParams pp(0, width(), view_.scale(), view_.offset());
const RowItemPaintParams pp(0, width(), view_.scale(), view_.offset());
@@
-86,7
+86,7
@@
void Viewport::paintEvent(QPaintEvent*)
r->paint_fore(p, pp);
if (view_.cursors_shown())
r->paint_fore(p, pp);
if (view_.cursors_shown())
- view_.cursors()
.
draw_viewport_foreground(p, rect());
+ view_.cursors()
->
draw_viewport_foreground(p, rect());
p.end();
}
p.end();
}