]> git.sesse.net Git - kdenlive/commitdiff
Fix timeline cursor paint issue
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 24 Feb 2008 22:33:44 +0000 (22:33 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 24 Feb 2008 22:33:44 +0000 (22:33 +0000)
svn path=/branches/KDE4/; revision=1926

src/customtrackview.cpp

index a70ec9d6c392613c46c03f1e583070281c2ca28d..4ddb02d70c7677a7b1124716407beb968a9ddf63 100644 (file)
@@ -671,7 +671,7 @@ void CustomTrackView::drawBackground ( QPainter * painter, const QRectF & rect )
   QColor base = palette().button().color();
   //painter->setPen(base);
   painter->setClipRect(rect);
-  painter->drawLine(0, 0, rect.width(), 0);
+  painter->drawLine(0, 0, width(), 0);
     for (uint i = 0; i < m_tracksCount;i++)
     {
       painter->drawLine(0, 50 * (i+1), width(), 50 * (i+1));