[qet] [3401] Basic shapes set pen.setWidthF(1) to all platforms

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


Revision: 3401
Author:   scorpio810
Date:     2014-10-26 13:38:04 +0100 (Sun, 26 Oct 2014)
Log Message:
-----------
Basic shapes  set pen.setWidthF(1) to all platforms

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

Modified: trunk/sources/qetgraphicsitem/qetshapeitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-10-26 11:57:38 UTC (rev 3400)
+++ trunk/sources/qetgraphicsitem/qetshapeitem.cpp	2014-10-26 12:38:04 UTC (rev 3401)
@@ -175,13 +175,9 @@
 	if (isSelected()) pen.setColor(Qt::red);
 	painter -> setRenderHint(QPainter::Antialiasing, false);
 	painter->setPen(pen);
-
-	// TODO for printing line type on Windows
-
-#ifdef Q_WS_WIN
 	pen.setWidthF(1);
-#endif
 
+
 	switch (m_shapeType) {
 		case Line:
 			painter->drawLine(QLineF(m_P1, m_P2));


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