X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftrace.cpp;h=f7e7ebf25b8ec00a351bb415f7fe696de155e8b6;hp=ee0a4f0e921630b986a090bbdca494fb3849010f;hb=0c2389230c90d8bf34b601c625bcf655b24e8f52;hpb=086f4df565d8e70328f3c4bbc92949e0817dc6d4 diff --git a/pv/view/trace.cpp b/pv/view/trace.cpp index ee0a4f0..f7e7ebf 100644 --- a/pv/view/trace.cpp +++ b/pv/view/trace.cpp @@ -91,16 +91,6 @@ bool Trace::is_draggable() const return (cursor_pos.x() <= view->header_size().width()); } -void Trace::select(bool select) -{ - // Trace can only be selected if the mouse cursor is in the header area; - // as is_draggable() checks the same thing, we re-use it here - if (is_draggable() && select) - selected_ = true; - else - selected_ = false; -} - void Trace::paint_label(QPainter &p, const QRect &rect, bool hover) { const int y = get_visual_y();