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

Resolved segfault when closing vlmc

parent 77063283
......@@ -53,6 +53,7 @@ MainWorkflow::MainWorkflow( int trackCount ) :
MainWorkflow::~MainWorkflow()
{
qDebug() << "MainWorkflow::~MainWorkflow()";
stop();
delete m_renderStartedLock;
......
......@@ -63,6 +63,11 @@ Timeline::Timeline( QWidget *parent ) :
MainWorkflow::getInstance(), SLOT( clipMoved( QUuid, int, int, qint64 ) ) );
}
Timeline::~Timeline()
{
delete m_mainWorkflow;
}
void Timeline::changeEvent( QEvent *e )
{
switch ( e->type() )
......
......@@ -36,6 +36,7 @@ class Timeline : public QWidget
Q_DISABLE_COPY( Timeline )
public:
explicit Timeline( QWidget *parent = 0 );
virtual ~Timeline();
TracksView* tracksView() { return m_tracksView; }
TracksScene* tracksScene() { return m_tracksScene; }
MainWorkflow* getMainWorkflow() { return m_mainWorkflow; }
......
......@@ -80,7 +80,6 @@ WorkflowRenderer::~WorkflowRenderer()
delete m_actionsLock;
delete m_media;
delete m_mainWorkflow;
}
void* WorkflowRenderer::lock( void* datas )
......
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