]> git.sesse.net Git - mlt/commitdiff
Fix regression introduced by last commit
authorj-b-m <jb@kdenlive.org>
Sun, 2 Aug 2009 21:42:49 +0000 (23:42 +0200)
committerj-b-m <jb@kdenlive.org>
Sun, 2 Aug 2009 21:42:49 +0000 (23:42 +0200)
modified:   kdenlivetitle_wrapper.cpp

src/modules/qimage/kdenlivetitle_wrapper.cpp

index d32ed3549271f9003267034ff0f6e49f767be033..3f7618a139864df881bb3ee28599a405d3ea8343 100644 (file)
@@ -352,7 +352,7 @@ void drawKdenliveTitle( producer_ktitle self, mlt_frame frame, int width, int he
                {
                        QPointF topleft = start.topLeft() + ( end.topLeft() - start.topLeft() ) * position;
                        QPointF bottomRight = start.bottomRight() + ( end.bottomRight() - start.bottomRight() ) * position;
-                       const QRectF r1( topleft, bottomRight - topleft );
+                       const QRectF r1( topleft, bottomRight );
                        scene->render( &p1, source, r1, Qt::IgnoreAspectRatio );
                }
                p1.end();