Commit b6584e64 authored by Geoffroy Lacarriere's avatar Geoffroy Lacarriere
Browse files

Crash fix on snapshot

parent 80eebaae
......@@ -47,7 +47,10 @@ ListViewMediaItem::ListViewMediaItem( QFileInfo* fInfo, ListViewMediaItem::fType
ListViewMediaItem::~ListViewMediaItem()
{
delete m_fileInfo;
if (m_currentMedia->isPlaying())
m_currentMedia->stop();
delete m_renderWidget;
delete m_currentMedia;
}
void ListViewMediaItem::setSnapshot()
......
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