]> git.sesse.net Git - kdenlive/commitdiff
Fix build with Qt < 4.6
authorTill Theato <root@ttill.de>
Tue, 4 Jan 2011 20:12:23 +0000 (20:12 +0000)
committerTill Theato <root@ttill.de>
Tue, 4 Jan 2011 20:12:23 +0000 (20:12 +0000)
svn path=/trunk/kdenlive/; revision=5264

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
         }