Commit bfd50961 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

ClipHelper: Adding an error() signal

It's connected to the ClipWorkflow's error signal in the ClipWorkflow
constructor.
parent 2b1eb594
......@@ -69,6 +69,7 @@ class ClipHelper : public QObject
signals:
void lengthUpdated();
void error();
};
#endif // CLIPHELPER_H
......@@ -40,6 +40,7 @@ ClipWorkflow::ClipWorkflow( ClipHelper* ch ) :
m_clipHelper( ch ),
m_state( ClipWorkflow::Stopped )
{
connect( this, SIGNAL( error() ), ch, SIGNAL( error() ) );
m_stateLock = new QReadWriteLock;
m_initWaitCond = new WaitCondition;
m_renderLock = new QMutex;
......@@ -54,7 +55,8 @@ ClipWorkflow::~ClipWorkflow()
delete m_stateLock;
}
void ClipWorkflow::initialize()
void
ClipWorkflow::initialize()
{
setState( ClipWorkflow::Initializing );
......
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