Skip to content
Snippets Groups Projects
Commit c8361a96 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Edge arrows uses QPen of edge.

parent 4b2d9412
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ void QGVEdge::paint(QPainter * painter, const QStyleOptionGraphicsItem *, QWidge
*/
painter->drawText(_label_rect, Qt::AlignCenter, _label);
painter->setBrush(QBrush(_pen.color(), Qt::SolidPattern));
// painter->setBrush(QBrush(_pen.color(), Qt::SolidPattern));
painter->drawPolygon(_head_arrow);
painter->drawPolygon(_tail_arrow);
painter->restore();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment