- const QRect signal_heading_rect(
- 0, s->get_v_offset() - v_offset,
- w, View::SignalHeight);
-
- const bool highlight = !dragging && s->pt_in_label_rect(
- signal_heading_rect, _mouse_point);
- s->paint_label(painter, signal_heading_rect, highlight);
+ const bool highlight = !dragging && t->pt_in_label_rect(
+ 0, w, _mouse_point);
+ t->paint_label(painter, w, highlight);