[qet] [2934] Basic shapes:fix line type on MS Windows printing

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2934
Author:   scorpio810
Date:     2014-03-19 15:30:27 +0100 (Wed, 19 Mar 2014)
Log Message:
-----------
Basic shapes:fix line type on MS Windows printing

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/qetshapeitem.cpp

Modified: trunk/sources/qetgraphicsitem/qetshapeitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-03-18 22:11:53 UTC (rev 2933)
+++ trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-03-19 14:30:27 UTC (rev 2934)
@@ -104,6 +104,7 @@
 		painter -> setRenderHint(QPainter::Antialiasing, false);
 		QRectF rec = boundingRect();
 		QPen pen(Qt::black);
+		pen.setWidth(1);
 		if (isSelected())
 			pen.setColor(Qt::red);
 		pen.setStyle(_shapeStyle);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/