projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AnalogSignal: Prevent threshold bg from spilling beyond extents
[pulseview.git]
/
pv
/
views
/
trace
/
cursorpair.cpp
diff --git
a/pv/views/trace/cursorpair.cpp
b/pv/views/trace/cursorpair.cpp
index 9a8744054bb0792fafded3281bf8686a7fe26c50..2ddecb278e6e86c8b7785d9402ad54a73f5454f3 100644
(file)
--- a/
pv/views/trace/cursorpair.cpp
+++ b/
pv/views/trace/cursorpair.cpp
@@
-73,9
+73,9
@@
float CursorPair::get_x() const
return (first_->get_x() + second_->get_x()) / 2.0f;
}
return (first_->get_x() + second_->get_x()) / 2.0f;
}
-QPoint CursorPair::point(const QRect &rect) const
+QPoint CursorPair::
drag_
point(const QRect &rect) const
{
{
- return first_->point(rect);
+ return first_->
drag_
point(rect);
}
pv::widgets::Popup* CursorPair::create_popup(QWidget *parent)
}
pv::widgets::Popup* CursorPair::create_popup(QWidget *parent)