projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Header: Moved drag functionality into SelectableItem
[pulseview.git]
/
pv
/
view
/
rowitem.cpp
diff --git
a/pv/view/rowitem.cpp
b/pv/view/rowitem.cpp
index c78f9eef2cba0af4f22b4d9dca555801c98f7fc4..d850e321fe4fdcf0572065e268d6393fa3af8982 100644
(file)
--- a/
pv/view/rowitem.cpp
+++ b/
pv/view/rowitem.cpp
@@
-60,6
+60,11
@@
int RowItem::get_y() const
return _v_offset + _owner->owner_v_offset();
}
+QPoint RowItem::point() const
+{
+ return QPoint(0, v_offset());
+}
+
void RowItem::paint_back(QPainter &p, int left, int right)
{
(void)p;