summaryrefslogtreecommitdiffstats
path: root/kolf/slope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/slope.cpp')
-rw-r--r--kolf/slope.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolf/slope.cpp b/kolf/slope.cpp
index db79cff8..e18c3a88 100644
--- a/kolf/slope.cpp
+++ b/kolf/slope.cpp
@@ -501,7 +501,7 @@ void Slope::updatePixmap()
// shift all the points
for (unsigned int i = 0; i < r.count(); ++i)
{
- QPoint &p = r[i];
+ TQPoint &p = r[i];
p.setX(p.x() - x());
p.setY(p.y() - y());
}