]> git.sesse.net Git - kdenlive/blobdiff - src/labelitem.cpp
Some funny timeline animation tooltips
[kdenlive] / src / labelitem.cpp
index edd8fe2673e4e587d166316720b452f6f902e99a..5cd54e2208af88935c1bce2a4503b3f783417fab 100644 (file)
@@ -51,11 +51,12 @@ int LabelItem::type () const
     QRectF par = mapFromScene(parent->rect()).boundingRect();
     QRectF parrect = option->matrix.map(mapFromScene(par)).boundingRect();
     painter->setClipRect( parrect ); //option->exposedRect );
-    QPainterPath path;
+    QGraphicsSimpleTextItem::paint(painter, option, widget);
+    /*QPainterPath path;
     path.addRoundRect(boundingRect(), 40);
     painter->fillPath(path, QColor(200, 200, 200, 100));
     //painter->fillRect(parrect, QColor(200, 50, 200, 100));
-    painter->drawText(boundingRect(), Qt::AlignCenter, text());
+    painter->drawText(boundingRect(), Qt::AlignCenter, text());*/
  }
 
 #include "labelitem.moc"