diff options
Diffstat (limited to 'src/picitem.cpp')
-rw-r--r-- | src/picitem.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/picitem.cpp b/src/picitem.cpp index b5e0f03..20a2f4e 100644 --- a/src/picitem.cpp +++ b/src/picitem.cpp @@ -136,17 +136,17 @@ void PinItem::drawShape( TQPainter& p ) if ( (m_pinSettings->type() == PinSettings::pt_input && onLeft) || (m_pinSettings->type() == PinSettings::pt_output && !onLeft) ) { - pa[0] = TQPoint::TQPoint( midRight, midY ); - pa[1] = TQPoint::TQPoint( midLeft, midY - PinDirArrow ); - pa[2] = TQPoint::TQPoint( midLeft, midY + PinDirArrow ); + pa[0] = TQPoint( midRight, midY ); + pa[1] = TQPoint( midLeft, midY - PinDirArrow ); + pa[2] = TQPoint( midLeft, midY + PinDirArrow ); p.drawPolygon(pa); p.drawLine ( left, midY, right, midY ); } else // Left facing arrow { - pa[0] = TQPoint::TQPoint( midLeft, midY ); - pa[1] = TQPoint::TQPoint( midRight, midY - PinDirArrow ); - pa[2] = TQPoint::TQPoint( midRight, midY + PinDirArrow ); + pa[0] = TQPoint( midLeft, midY ); + pa[1] = TQPoint( midRight, midY - PinDirArrow ); + pa[2] = TQPoint( midRight, midY + PinDirArrow ); p.drawPolygon(pa); p.drawLine ( left, midY, right, midY ); } |