X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fviewport.cpp;h=06fab904e75168fab06a9499574446959c93e9a3;hp=0e0ae8ae4ad0807f5b99abe1f31ca458f437af94;hb=01fd32630269c1cfb99eb2b0d6060d7d19a42475;hpb=640d69ce065e5c5a30e83395b259a63f7e03c779 diff --git a/pv/view/viewport.cpp b/pv/view/viewport.cpp index 0e0ae8a..06fab90 100644 --- a/pv/view/viewport.cpp +++ b/pv/view/viewport.cpp @@ -69,12 +69,10 @@ void Viewport::paintEvent(QPaintEvent*) _view.cursors().draw_viewport_background(p, rect()); // Plot the signal - const int v_offset = _view.v_offset(); BOOST_FOREACH(const shared_ptr t, traces) { assert(t); - t->paint(p, t->get_v_offset() - v_offset, 0, width(), - _view.scale(), _view.offset()); + t->paint(p, 0, width()); } if (_view.cursors_shown())