Commit 8e32e0bc authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Solved crash when closing project

parent fb7ea75e
......@@ -468,9 +468,8 @@ void TrackWorkflow::clear()
for ( ; it != end; ++it )
{
//The clip contained in the trackworkflow will be delete by the undo stack.
ClipWorkflow* cw = it.value();
delete cw->getClip();
//The clip contained in the trackworkflow will be delete by the undo stack.
delete cw;
}
m_clips.clear();
......
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