diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-03 08:16:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-03 08:16:33 +0000 |
commit | 5c472ea5287bf145c2327ec99151472e16ccc4b1 (patch) | |
tree | f2b16627b6adfd70f6a60b3083ba63fae06177b9 | |
parent | faa9ae7ea5df8b3bf83134b98c4b9c5a444c13ef (diff) | |
download | ktechlab-5c472ea5287bf145c2327ec99151472e16ccc4b1.tar.gz ktechlab-5c472ea5287bf145c2327ec99151472e16ccc4b1.zip |
Fix ktechlab FTBFS on gcc4.6
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1244540 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-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 ); } |