revert busitem paint

This commit is contained in:
2020-08-13 18:09:04 +03:00
parent e43ae02e48
commit 8fbed9f427

View File

@@ -727,9 +727,7 @@ void BlockBusItem::paint(QPainter * p, const QStyleOptionGraphicsItem * o, QWidg
p->setPen(_pen);
p->drawLine(pol[segments[i].first], pol[segments[i].second]);
if (pointSegmentsCount(segments[i].first) > 2) {
_pen.setWidthF(pen_width + 3.);
p->setPen(_pen);
p->drawPoint(pol[segments[i].first]);
p->drawEllipse(pol[segments[i].first], pen_width*0.7, pen_width*0.7);
}
}
p->setPen(_pen);