[qet] [3261] Revert previous commit

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


Revision: 3261
Author:   scorpio810
Date:     2014-08-09 15:21:05 +0200 (Sat, 09 Aug 2014)
Log Message:
-----------
Revert previous commit

Modified Paths:
--------------
    trunk/sources/conductorsegment.cpp

Modified: trunk/sources/conductorsegment.cpp
===================================================================
--- trunk/sources/conductorsegment.cpp	2014-08-08 23:58:39 UTC (rev 3260)
+++ trunk/sources/conductorsegment.cpp	2014-08-09 13:21:05 UTC (rev 3261)
@@ -493,8 +493,8 @@
 QPointF ConductorSegment::middle() const {
 	return(
 		QPointF(
-			(point1.x(), point2.x()),
-			(point1.y(), point2.y())
+			(point1.x()+ point2.x()) / 2.0,
+			(point1.y()+ point2.y()) / 2.0
 		)
 	);
 }


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