diff --git a/limereport/items/lrshapeitem.cpp b/limereport/items/lrshapeitem.cpp index a1b37d9..ab07113 100644 --- a/limereport/items/lrshapeitem.cpp +++ b/limereport/items/lrshapeitem.cpp @@ -83,6 +83,7 @@ void ShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QPen pen(m_shapeColor); pen.setWidthF(m_lineWidth); pen.setStyle(m_penStyle); + pen.setJoinStyle(Qt::MiterJoin); painter->setPen(pen); QBrush brush(m_shapeBrushColor,m_shapeBrushType); brush.setTransform(painter->worldTransform().inverted()); @@ -102,7 +103,7 @@ void ShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, painter->drawEllipse(rect()); break; case Rectangle: - if (m_cornerRadius!=0){ + if (m_cornerRadius != 0){ painter->setRenderHint(QPainter::Antialiasing); painter->drawRoundedRect(rect(),m_cornerRadius,m_cornerRadius); } else {