From 3fa141d151f0b2c84483234bfd7cf290451b2c22 Mon Sep 17 00:00:00 2001 From: Till Theato Date: Tue, 4 Jan 2011 20:12:23 +0000 Subject: [PATCH] Fix build with Qt < 4.6 svn path=/trunk/kdenlive/; revision=5264 --- src/beziercurve/beziersplineeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beziercurve/beziersplineeditor.cpp b/src/beziercurve/beziersplineeditor.cpp index 3250feca..a58f782d 100644 --- a/src/beziercurve/beziersplineeditor.cpp +++ b/src/beziercurve/beziersplineeditor.cpp @@ -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 } -- 2.39.5