X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftrace.cpp;h=2154f8a7af1354216dce1b2874bc42e6064135c9;hp=e1b51373ae667616895f09f76c224283fd4f410c;hb=5ed05b699e5367bae21828f533e3d169b9bab348;hpb=17c7f31c7bb674d5017a8de66a5816e34542abb8 diff --git a/pv/view/trace.cpp b/pv/view/trace.cpp index e1b5137..2154f8a 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();