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

Import: Don't crash when a media fail to load.

parent e0d59386
......@@ -328,7 +328,6 @@ ImportController::failedToLoad( Media *media )
m_ui->errorLabel->show();
QTimer::singleShot( 3000, this, SLOT( hideErrors() ) );
delete m_temporaryMedias->removeClip( media->baseClip()->uuid() );
delete media;
}
void
......
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