Commit a87971d5 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix resizing of video clips.

parent 56dfb98a
......@@ -261,10 +261,12 @@ void TracksView::dragEnterEvent( QDragEnterEvent* event )
// Create the items
m_dragAudioItem = new GraphicsAudioItem( audioClip );
m_dragAudioItem->m_tracksView = this;
m_dragAudioItem->setHeight( tracksHeight() );
m_dragAudioItem->setParentItem( getTrack( m_dragAudioItem->mediaType(), 0 ) );
m_dragVideoItem = new GraphicsMovieItem( videoClip );
m_dragVideoItem->m_tracksView = this;
m_dragVideoItem->setHeight( tracksHeight() );
m_dragVideoItem->setParentItem( getTrack( m_dragVideoItem->mediaType(), 0 ) );
......
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