mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-30 14:49:59 +02:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user