Conductor : minor change

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4203 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-09-15 08:20:39 +00:00
parent 15b8fff00d
commit 65862756cb
6 changed files with 219 additions and 406 deletions

View File

@@ -637,15 +637,12 @@ void Terminal::mouseReleaseEvent(QGraphicsSceneMouseEvent *e)
}
/**
Met a jour l'eventuel conducteur relie a la borne.
@param newpos Position de l'element parent a prendre en compte
*/
* @brief Terminal::updateConductor
* Update the path of conductor docked to this terminal
*/
void Terminal::updateConductor() {
if (!scene() || !parentItem()) return;
foreach (Conductor *conductor, conductors_) {
if (conductor -> isDestroyed()) continue;
conductor -> updatePath();
}
foreach (Conductor *conductor, conductors_)
conductor->updatePath();
}
/**