projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added missing virtual destructors
[pulseview.git]
/
pv
/
view
/
cursor.cpp
diff --git
a/pv/view/cursor.cpp
b/pv/view/cursor.cpp
index 809a0501b20da1a4be759451fb0d51b717a4dff6..b55d11e016c3b96123b4eb287f44534c51c99034 100644
(file)
--- a/
pv/view/cursor.cpp
+++ b/
pv/view/cursor.cpp
@@
-60,7
+60,7
@@
QRectF Cursor::get_label_rect(const QRect &rect) const
_text_size.height() + View::LabelPadding.height() * 2);
const float top = rect.height() - label_size.height() -
Cursor::Offset - Cursor::ArrowSize - 0.5f;
_text_size.height() + View::LabelPadding.height() * 2);
const float top = rect.height() - label_size.height() -
Cursor::Offset - Cursor::ArrowSize - 0.5f;
- const float height = label_size.height()
+ 1
;
+ const float height = label_size.height();
if (_time > _other.time())
return QRectF(x, top, label_size.width(), height);
if (_time > _other.time())
return QRectF(x, top, label_size.width(), height);