From a2770ecd8e45d82f860ead7abc0c0e1ba3d9293f Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Wed, 10 Oct 2018 22:42:55 +0800 Subject: [PATCH] Change texture painter clip expand joint style to round from miter --- src/texturegenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/texturegenerator.cpp b/src/texturegenerator.cpp index 6d626fd4..23d5a0da 100644 --- a/src/texturegenerator.cpp +++ b/src/texturegenerator.cpp @@ -130,7 +130,7 @@ QPainterPath TextureGenerator::expandedPainterPath(const QPainterPath &painterPa { QPainterPathStroker stroker; stroker.setWidth(expandSize); - stroker.setJoinStyle(Qt::MiterJoin); + stroker.setJoinStyle(Qt::RoundJoin); return (stroker.createStroke(painterPath) + painterPath).simplified(); }