From: Joel Holdsworth Date: Mon, 7 Sep 2015 00:35:34 +0000 (-0600) Subject: ViewWidget: Moved update() call into ViewItem X-Git-Tag: pulseview-0.3.0~66 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=725568aca067f8024c6567a10973cd119483a5bd;p=pulseview.git ViewWidget: Moved update() call into ViewItem --- diff --git a/pv/view/signalscalehandle.cpp b/pv/view/signalscalehandle.cpp index 59e618ca..a4c2b419 100644 --- a/pv/view/signalscalehandle.cpp +++ b/pv/view/signalscalehandle.cpp @@ -59,6 +59,7 @@ void SignalScaleHandle::drag_by(const QPoint &delta) { owner_.scale_handle_dragged( drag_point_.y() + delta.y() - owner_.get_visual_y()); + owner_.owner()->row_item_appearance_changed(true, true); } QPoint SignalScaleHandle::point(const QRect &rect) const diff --git a/pv/view/viewwidget.cpp b/pv/view/viewwidget.cpp index 2a97eefc..a834f9c0 100644 --- a/pv/view/viewwidget.cpp +++ b/pv/view/viewwidget.cpp @@ -294,8 +294,6 @@ void ViewWidget::mouseMoveEvent(QMouseEvent *e) // Do the drag drag_items(e->pos() - mouse_down_point_); - - update(); } }