Commit fd3336be authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Remove warning

parent 92f72f70
......@@ -131,7 +131,7 @@ void TracksView::addMediaItem( Clip* clip, unsigned int track, qint64 start )
Q_ASSERT( clip );
//nasty temporary fix:
if ( track > m_numVideoTrack )
if ( track > (quint32)m_numVideoTrack )
{
unsigned int nbTrackToAdd = track - m_numVideoTrack;
for ( unsigned int i = 0; i < nbTrackToAdd; ++i )
......
......@@ -64,6 +64,7 @@ Clip::Clip( const QUuid& uuid, float begin, float end ) :
m_begin( begin),
m_end( 1.0f )
{
Q_UNUSED( end );
Media* media = Library::getInstance()->getMedia( uuid );
Q_ASSERT( media != NULL );
m_parent = media;
......
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