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

Adding a lengthChanged signal for MainWorkflow

parent 49d6e8f5
......@@ -115,7 +115,12 @@ MainWorkflow::computeLength()
if ( m_tracks[i]->getLength() > maxLength )
maxLength = m_tracks[i]->getLength();
}
if ( m_lengthFrame != maxLength )
{
m_lengthFrame = maxLength;
emit lengthChanged( m_lengthFrame );
}
}
void
......
......@@ -495,6 +495,13 @@ class MainWorkflow : public QObject, public Singleton<MainWorkflow>
* \sa unpause();
*/
void mainWorkflowUnpaused();
/**
* \brief Emitted when the global length of the workflow changes.
*
* \param newLength The new length, in frames
*/
void lengthChanged( qint64 );
};
#endif // MAINWORKFLOW_H
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