biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / science / electronics / caneda / gcc6.patch
blob04c8f4502b2d3dbd6d13ca61afb36253ac641458
1 diff --git c/src/cgraphicsscene.cpp i/src/cgraphicsscene.cpp
2 index ac2929a..c399706 100644
3 --- c/src/cgraphicsscene.cpp
4 +++ i/src/cgraphicsscene.cpp
5 @@ -1436,7 +1436,7 @@ namespace Caneda
6 QPointF newPos = m_currentWiringWire->mapFromScene(pos);
7 QPointF refPos = m_currentWiringWire->port1()->pos();
9 - if( abs(refPos.x()-newPos.x()) > abs(refPos.y()-newPos.y()) ) {
10 + if( (refPos.x()-newPos.x()) > (refPos.y()-newPos.y()) ) {
11 m_currentWiringWire->movePort2(QPointF(newPos.x(), refPos.y()));
13 else {