projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TimeMarker: Renamed get_label_rect, and made it take a const QRectF&
[pulseview.git]
/
pv
/
view
/
cursorheader.cpp
diff --git
a/pv/view/cursorheader.cpp
b/pv/view/cursorheader.cpp
index 076b2a7fc2ecd677ea12b99e16d08f7f3f1c2910..2835750b9647bcd2a5fd41a490cb13dadbafb7db 100644
(file)
--- a/
pv/view/cursorheader.cpp
+++ b/
pv/view/cursorheader.cpp
@@
-108,10
+108,10
@@
void CursorHeader::mousePressEvent(QMouseEvent *e)
if (view_.cursors_shown()) {
shared_ptr<CursorPair> cursors(view_.cursors());
if (view_.cursors_shown()) {
shared_ptr<CursorPair> cursors(view_.cursors());
- if (cursors->first()->
get_
label_rect(
+ if (cursors->first()->label_rect(
rect()).contains(e->pos()))
grabbed_marker_ = cursors->first();
rect()).contains(e->pos()))
grabbed_marker_ = cursors->first();
- else if (cursors->second()->
get_
label_rect(
+ else if (cursors->second()->label_rect(
rect()).contains(e->pos()))
grabbed_marker_ = cursors->second();
}
rect()).contains(e->pos()))
grabbed_marker_ = cursors->second();
}