Commit 2d1ddf57 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Do not use rounded rect for drawing in the timeline

Due to the zoom factor the object is distorded.
parent 22e25eeb
......@@ -40,7 +40,7 @@ QRectF GraphicsMovieItem::boundingRect() const
void GraphicsMovieItem::paint( QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget )
{
painter->setBrush( Qt::red );
painter->drawRoundedRect( boundingRect(), 5, 5 );
painter->drawRect( boundingRect() );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment