From: Joel Holdsworth Date: Tue, 23 Dec 2014 18:43:23 +0000 (+0000) Subject: RowItem: Fix y-offset in point() X-Git-Tag: pulseview-0.3.0~321 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c3bb03ffcd63e5bb4a98e46313a71de96a544081;p=pulseview.git RowItem: Fix y-offset in point() --- diff --git a/pv/view/rowitem.cpp b/pv/view/rowitem.cpp index eeb727cc..861d4adf 100644 --- a/pv/view/rowitem.cpp +++ b/pv/view/rowitem.cpp @@ -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()