]> AND Private Git Repository - blast.git/blobdiff - ConnectionItem.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
correcting bugs but still exsitings
[blast.git] / ConnectionItem.cpp
index dee71ba7e16d8d6ad552edae85086edf0a218867..b6d99a5a42083a0e6dcc5d630786caa7a35e6468 100644 (file)
@@ -85,7 +85,7 @@ ConnectionItem::ConnectionItem(InterfaceItem* _iface1,
   setCursor(Qt::PointingHandCursor);
   setZValue(0);
 
   setCursor(Qt::PointingHandCursor);
   setZValue(0);
 
-  setPathes();
+  setPath();
 }
 
 
 }
 
 
@@ -145,8 +145,9 @@ void ConnectionItem::addInterPoint(QPointF point) {
 
 }
 
 
 }
 
-void ConnectionItem::setPathes() {
+void ConnectionItem::setPath() {
 
 
+  // signals to the scene that this connection is going to change of shape.
   prepareGeometryChange();
 
   pointFrom = fromInterfaceItem->getEndPointInGroup();
   prepareGeometryChange();
 
   pointFrom = fromInterfaceItem->getEndPointInGroup();