]> sigrok.org Git - pulseview.git/commitdiff
RowItem: Fix y-offset in point()
authorJoel Holdsworth <redacted>
Tue, 23 Dec 2014 18:43:23 +0000 (18:43 +0000)
committerJoel Holdsworth <redacted>
Mon, 29 Dec 2014 11:56:00 +0000 (11:56 +0000)
pv/view/rowitem.cpp

index eeb727ccc966cffa86eccbedcf00dc076ade7136..861d4adf05d28763640c12a2dac1a27d4f308f4c 100644 (file)
@@ -117,7 +117,7 @@ int RowItem::get_visual_y() const
 
 QPoint RowItem::point(const QRect &rect) const
 {
-       return QPoint(rect.right(), visual_v_offset());
+       return QPoint(rect.right(), get_visual_y());
 }
 
 void RowItem::hover_point_changed()