[qet] [4607] Fix ability conductor size less than 1, thanks Timbul Widodo

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


Revision: 4607
Author:   scorpio810
Date:     2016-08-06 12:58:56 +0200 (Sat, 06 Aug 2016)
Log Message:
-----------
Fix ability conductor size less than 1, thanks Timbul Widodo

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

Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp	2016-08-05 15:41:46 UTC (rev 4606)
+++ trunk/sources/qetgraphicsitem/conductor.cpp	2016-08-06 10:58:56 UTC (rev 4607)
@@ -455,7 +455,7 @@
 	}
 	
 		//Draw the conductor bigger when is hovered
-	conductor_pen.setWidth(bMouseOver? (properties_.cond_size) +4 : (properties_.cond_size));
+	conductor_pen.setWidthF(bMouseOver? (properties_.cond_size) +4 : (properties_.cond_size));
 
 	// affectation du QPen et de la QBrush modifies au QPainter
 	qp -> setBrush(conductor_brush);


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