From 64b706c30ff100914831d3a92d8c2b538f644911 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Wed, 19 Mar 2014 14:30:27 +0000 Subject: [PATCH] Basic shapes:fix line type on MS Windows printing git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2934 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/qetgraphicsitem/qetshapeitem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/qetgraphicsitem/qetshapeitem.cpp b/sources/qetgraphicsitem/qetshapeitem.cpp index 64d37ca95..f2b11f71e 100644 --- a/sources/qetgraphicsitem/qetshapeitem.cpp +++ b/sources/qetgraphicsitem/qetshapeitem.cpp @@ -104,6 +104,7 @@ void QetShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti painter -> setRenderHint(QPainter::Antialiasing, false); QRectF rec = boundingRect(); QPen pen(Qt::black); + pen.setWidth(1); if (isSelected()) pen.setColor(Qt::red); pen.setStyle(_shapeStyle);