diff options
Diffstat (limited to 'databaserelation.cpp')
-rw-r--r-- | databaserelation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/databaserelation.cpp b/databaserelation.cpp index 6f7eab0..4345691 100644 --- a/databaserelation.cpp +++ b/databaserelation.cpp @@ -40,6 +40,7 @@ DatabaseRelation::shape() const path.lineTo(m_line.p2()); path.addPolygon(m_arrowHead); QPen pen(QPen(QColor(0, 0, 0), 1)); + pen.setJoinStyle(Qt::MiterJoin); QPainterPathStroker ps; ps.setCapStyle(pen.capStyle()); ps.setWidth(pen.widthF() + 0.3); @@ -55,6 +56,7 @@ DatabaseRelation::paint(QPainter *painter, const QStyleOptionGraphicsItem *optio Q_UNUSED(widget); QPen pen(QPen(QColor(0, 0, 0), 1)); + pen.setJoinStyle(Qt::MiterJoin); painter->setPen(pen); painter->drawLine(m_line); painter->setBrush(pen.color()); |