diff --git a/sources/conductortextitem.cpp b/sources/conductortextitem.cpp index f27a6719b..e91e66c4e 100644 --- a/sources/conductortextitem.cpp +++ b/sources/conductortextitem.cpp @@ -142,7 +142,6 @@ void ConductorTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent *e) { 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