]> git.sesse.net Git - kdenlive/blobdiff - src/beziercurve/beziersplineeditor.cpp
Fix build with Qt < 4.6
[kdenlive] / src / beziercurve / beziersplineeditor.cpp
index 3250feca4557b25b6c682ad6bd1bbc87dd07893e..a58f782d76e89835020e153a62ec75ffcac5c4a2 100644 (file)
@@ -238,7 +238,7 @@ void BezierSplineEditor::paintEvent(QPaintEvent* event)
             p.drawConvexPolygon(handle.translated(point.h2.x() * wWidth, wHeight - point.h2.y() * wHeight));
 #else
             tmp = handle;
-            tmp.translate(handle.translated(point.h2.x() * wWidth, wHeight - point.h2.y() * wHeight);
+            tmp.translate(point.h2.x() * wWidth, wHeight - point.h2.y() * wHeight);
             p.drawConvexPolygon(tmp);
 #endif
         }