Commit ab8c0dfe authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Removed forgotten debug, my bad...

parent 208e377c
...@@ -176,7 +176,6 @@ void TracksView::deleteMedia( const QUuid& uuid ) ...@@ -176,7 +176,6 @@ void TracksView::deleteMedia( const QUuid& uuid )
void TracksView::addMediaItem( Clip* clip, unsigned int track, MainWorkflow::TrackType trackType, qint64 start ) void TracksView::addMediaItem( Clip* clip, unsigned int track, MainWorkflow::TrackType trackType, qint64 start )
{ {
qDebug() << "adding media item";
Q_ASSERT( clip ); Q_ASSERT( clip );
// If there is not enough tracks to insert // If there is not enough tracks to insert
...@@ -205,7 +204,6 @@ void TracksView::addMediaItem( Clip* clip, unsigned int track, MainWorkflow::Tra ...@@ -205,7 +204,6 @@ void TracksView::addMediaItem( Clip* clip, unsigned int track, MainWorkflow::Tra
if ( track + 1 == m_numAudioTrack ) if ( track + 1 == m_numAudioTrack )
addAudioTrack(); addAudioTrack();
} }
qDebug() << "check for existence in timeline";
// Is the clip already existing in the timeline ? // Is the clip already existing in the timeline ?
QList<QGraphicsItem*> trackItems = getTrack( trackType, track )->childItems();; QList<QGraphicsItem*> trackItems = getTrack( trackType, track )->childItems();;
for ( int i = 0; i < trackItems.size(); ++i ) for ( int i = 0; i < trackItems.size(); ++i )
...@@ -217,7 +215,6 @@ void TracksView::addMediaItem( Clip* clip, unsigned int track, MainWorkflow::Tra ...@@ -217,7 +215,6 @@ void TracksView::addMediaItem( Clip* clip, unsigned int track, MainWorkflow::Tra
return; return;
} }
qDebug() << "connecting split";
AbstractGraphicsMediaItem* item = 0; AbstractGraphicsMediaItem* item = 0;
if ( trackType == MainWorkflow::VideoTrack ) if ( trackType == MainWorkflow::VideoTrack )
{ {
...@@ -234,7 +231,6 @@ void TracksView::addMediaItem( Clip* clip, unsigned int track, MainWorkflow::Tra ...@@ -234,7 +231,6 @@ void TracksView::addMediaItem( Clip* clip, unsigned int track, MainWorkflow::Tra
item = new GraphicsAudioItem( clip ); item = new GraphicsAudioItem( clip );
} }
qDebug() << "doing stuffs";
item->m_tracksView = this; item->m_tracksView = this;
item->setHeight( tracksHeight() ); item->setHeight( tracksHeight() );
item->setParentItem( getTrack( trackType, track ) ); item->setParentItem( getTrack( trackType, track ) );
......
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