From: <j-...@us...> - 2009-12-12 21:59:41
|
Revision: 4180 http://kdenlive.svn.sourceforge.net/kdenlive/?rev=4180&view=rev Author: j-b-m Date: 2009-12-12 21:59:33 +0000 (Sat, 12 Dec 2009) Log Message: ----------- Fix painting of timeline zone when changing it from project monitor Modified Paths: -------------- trunk/kdenlive/src/customruler.cpp Modified: trunk/kdenlive/src/customruler.cpp =================================================================== --- trunk/kdenlive/src/customruler.cpp 2009-12-12 19:24:42 UTC (rev 4179) +++ trunk/kdenlive/src/customruler.cpp 2009-12-12 21:59:33 UTC (rev 4180) @@ -105,11 +105,9 @@ void CustomRuler::setZone(QPoint p) { - int min = qMin(m_zoneStart, p.x()); - int max = qMax(m_zoneEnd, p.y()); m_zoneStart = p.x(); m_zoneEnd = p.y(); - update(min * m_factor - 2, 0, (max - min) * m_factor + 4, height()); + update(); } void CustomRuler::mouseReleaseEvent(QMouseEvent * /*event*/) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |