Commit cc58d69b authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MainWorkflow: Cosmetic.

parent bbecd5f0
......@@ -51,8 +51,7 @@ MainWorkflow::MainWorkflow( int trackCount ) :
m_currentFrame = new qint64[Workflow::NbTrackType];
for ( unsigned int i = 0; i < Workflow::NbTrackType; ++i )
{
Workflow::TrackType trackType =
(i == 0 ? Workflow::VideoTrack : Workflow::AudioTrack );
Workflow::TrackType trackType = static_cast<Workflow::TrackType>(i);
m_tracks[i] = new TrackHandler( trackCount, trackType );
connect( m_tracks[i], SIGNAL( tracksEndReached() ),
this, SLOT( tracksEndReached() ) );
......
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