X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Ftrace.cpp;h=2154f8a7af1354216dce1b2874bc42e6064135c9;hb=33094993339188a3baef302fb09eff6bf6bb6779;hp=e1b51373ae667616895f09f76c224283fd4f410c;hpb=59ec98e2b704d918c236e82f41536ce833890fb0;p=pulseview.git diff --git a/pv/view/trace.cpp b/pv/view/trace.cpp index e1b51373..2154f8a7 100644 --- a/pv/view/trace.cpp +++ b/pv/view/trace.cpp @@ -59,6 +59,11 @@ Trace::Trace(shared_ptr channel) : this, SLOT(on_colour_changed(const QColor&))); } +shared_ptr Trace::base() const +{ + return base_; +} + void Trace::paint_label(QPainter &p, const QRect &rect, bool hover) { const int y = get_visual_y();