[qet] [3403] Basic shapes: minor improvement

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


Revision: 3403
Author:   scorpio810
Date:     2014-10-26 14:36:11 +0100 (Sun, 26 Oct 2014)
Log Message:
-----------
Basic shapes: minor improvement

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

Modified: trunk/sources/qetgraphicsitem/qetshapeitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-10-26 13:12:44 UTC (rev 3402)
+++ trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-10-26 13:36:11 UTC (rev 3403)
@@ -174,10 +174,11 @@
 	pen.setStyle(m_shapeStyle);
 	if (isSelected()) pen.setColor(Qt::red);
 	painter -> setRenderHint(QPainter::Antialiasing, false);
+	pen.setWidthF(1);
 	painter->setPen(pen);
-	pen.setWidthF(1);
 
 
+
 	switch (m_shapeType) {
 		case Line:
 			painter->drawLine(QLineF(m_P1, m_P2));


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