]> git.sesse.net Git - kdenlive/blobdiff - src/clipitem.cpp
Show full log if there is a problem with dvd creation
[kdenlive] / src / clipitem.cpp
index cc66375d4e5beb86f0c4b06e216958f436bbb327..bcc7af5efae547243c6bdc437ec05ec319466d42 100644 (file)
@@ -704,9 +704,8 @@ void ClipItem::paint(QPainter *painter,
         QRectF mappedRect;
         if (m_clipType == AV && !isAudioOnly()) {
             QRectF re =  br;
-            re.setTop(re.y() + re.height() / 2);
             mappedRect = painter->matrix().mapRect(re);
-            //painter->fillRect(mappedRect, QBrush(QColor(200, 200, 200, 140)));
+            mappedRect.setTop(mappedRect.bottom() - re.height() / 2);
         } else mappedRect = mapped;
 
         int channels = baseClip()->getProperty("channels").toInt();