summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp')
-rw-r--r--Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp b/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
index 65b93535a..b11e05d8b 100644
--- a/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
+++ b/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
@@ -356,6 +356,7 @@ void GraphicsContext::platformInit(PlatformGraphicsContext* painter)
QPen pen(painter->pen());
pen.setColor(strokeColor());
pen.setJoinStyle(toQtLineJoin(MiterJoin));
+ pen.setCapStyle(Qt::FlatCap);
painter->setPen(pen);
}