[qet] [2935] Basic shapes: better fix

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


Revision: 2935
Author:   scorpio810
Date:     2014-03-19 15:56:06 +0100 (Wed, 19 Mar 2014)
Log Message:
-----------
Basic shapes: better fix

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

Modified: trunk/sources/qetgraphicsitem/qetshapeitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-03-19 14:30:27 UTC (rev 2934)
+++ trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-03-19 14:56:06 UTC (rev 2935)
@@ -104,7 +104,13 @@
 		painter -> setRenderHint(QPainter::Antialiasing, false);
 		QRectF rec = boundingRect();
 		QPen pen(Qt::black);
-		pen.setWidth(1);
+
+#ifdef Q_WS_WIN
+	pen.setWidth(1);
+#elif Q_WS_MAC
+	pen.setWidth(0.5);
+#endif
+
 		if (isSelected())
 			pen.setColor(Qt::red);
 		pen.setStyle(_shapeStyle);


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