Commit 90b5f6b5 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Removed useless method.

parent d7b92588
......@@ -346,7 +346,7 @@ Clip* TrackWorkflow::removeClip( const QUuid& id )
m_clips.erase( it );
stopClipWorkflow( cw );
computeLength();
disconnectClipWorkflow( cw );
cw->disconnect();
delete cw;
if ( m_length == 0 )
emit trackEndReached( m_trackId );
......@@ -369,7 +369,7 @@ ClipWorkflow* TrackWorkflow::removeClipWorkflow( const QUuid& id )
if ( it.value()->getClip()->getUuid() == id )
{
ClipWorkflow* cw = it.value();
disconnectClipWorkflow( cw );
cw->disconnect();
m_clips.erase( it );
computeLength();
return cw;
......@@ -461,13 +461,6 @@ void TrackWorkflow::adjustClipTime( qint64 currentFrame, qint64 start, ClipWo
cw->setTime( startFrame );
}
void TrackWorkflow::disconnectClipWorkflow( ClipWorkflow* cw )
{
disconnect( cw, SIGNAL( renderComplete( ClipWorkflow* ) ), this, SLOT( clipWorkflowRenderCompleted( ClipWorkflow* ) ) );
disconnect( cw, SIGNAL( paused() ), this, SLOT( clipWorkflowPaused() ) );
disconnect( cw, SIGNAL( unpaused() ), this, SLOT( clipWorkflowUnpaused() ) );
}
void TrackWorkflow::forceRepositionning()
{
QMutexLocker lock( m_forceRepositionningMutex );
......
......@@ -88,7 +88,6 @@ class TrackWorkflow : public QObject
void stopClipWorkflow( ClipWorkflow* cw );
bool checkEnd( qint64 currentFrame ) const;
void adjustClipTime( qint64 currentFrame, qint64 start, ClipWorkflow* cw );
void disconnectClipWorkflow( ClipWorkflow* cw );
void releasePreviousRender();
......
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