[qet] [3146] qetshapeitem: restore Antialiasing false

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


Revision: 3146
Author:   scorpio810
Date:     2014-06-18 12:46:09 +0200 (Wed, 18 Jun 2014)
Log Message:
-----------
qetshapeitem: restore Antialiasing false

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

Modified: trunk/sources/qetgraphicsitem/qetshapeitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-06-17 18:34:02 UTC (rev 3145)
+++ trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-06-18 10:46:09 UTC (rev 3146)
@@ -173,6 +173,7 @@
 	QPen pen;
 	pen.setStyle(m_shapeStyle);
 	if (isSelected()) pen.setColor(Qt::red);
+	painter -> setRenderHint(QPainter::Antialiasing, false);
 	painter->setPen(pen);
 
 	// TODO for printing line type on Windows


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