[qet] [1400] Fixed a warning about an unused variable.

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


Revision: 1400
Author:   xavier
Date:     2011-12-23 18:38:08 +0100 (Fri, 23 Dec 2011)
Log Message:
-----------
Fixed a warning about an unused variable.

Modified Paths:
--------------
    branches/0.3/sources/conductortextitem.cpp

Modified: branches/0.3/sources/conductortextitem.cpp
===================================================================
--- branches/0.3/sources/conductortextitem.cpp	2011-12-23 17:33:46 UTC (rev 1399)
+++ branches/0.3/sources/conductortextitem.cpp	2011-12-23 17:38:08 UTC (rev 1400)
@@ -142,7 +142,6 @@
 	if (textInteractionFlags() & Qt::TextEditable) {
 		QGraphicsTextItem::mouseMoveEvent(e);
 	} else if ((flags() & QGraphicsItem::ItemIsMovable) && (e -> buttons() & Qt::LeftButton)) {
-		QPointF old_pos = pos();
 		QPointF intended_pos = mapToParent(e -> pos()) - matrix().map(e -> buttonDownPos(Qt::LeftButton));
 		
 		// si ce texte est attache a un conducteur, alors ses mouvements seront


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