From: Till Theato Date: Tue, 4 Jan 2011 20:12:23 +0000 (+0000) Subject: Fix build with Qt < 4.6 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3fa141d151f0b2c84483234bfd7cf290451b2c22;p=kdenlive Fix build with Qt < 4.6 svn path=/trunk/kdenlive/; revision=5264 --- 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 }