From: <tt...@us...> - 2011-02-19 22:00:06
|
Revision: 5431 http://kdenlive.svn.sourceforge.net/kdenlive/?rev=5431&view=rev Author: ttill Date: 2011-02-19 21:59:59 +0000 (Sat, 19 Feb 2011) Log Message: ----------- Fix compile with Qt < 4.6 (once again): http://kdenlive.org/mantis/view.php?id=2031 Modified Paths: -------------- trunk/kdenlive/src/onmonitoritems/rotoscoping/bpointitem.cpp Modified: trunk/kdenlive/src/onmonitoritems/rotoscoping/bpointitem.cpp =================================================================== --- trunk/kdenlive/src/onmonitoritems/rotoscoping/bpointitem.cpp 2011-02-19 21:51:46 UTC (rev 5430) +++ trunk/kdenlive/src/onmonitoritems/rotoscoping/bpointitem.cpp 2011-02-19 21:59:59 UTC (rev 5431) @@ -90,11 +90,13 @@ painter->drawConvexPolygon(handle.translated(m_point.h1.x(), m_point.h1.y())); painter->drawConvexPolygon(handle.translated(m_point.h2.x(), m_point.h2.y())); #else + QPolygonF tmp; tmp = handle; tmp.translate(m_point.h1.x(), m_point.h1.y()); - p.drawConvexPolygon(tmp); + painter->drawConvexPolygon(tmp); + tmp = handle; tmp.translate(m_point.h2.x(), m_point.h2.y()); - p.drawConvexPolygon(tmp); + painter->drawConvexPolygon(tmp); #endif painter->drawEllipse(QRectF(m_point.p.x() - handleSizeHalf, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |