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

Solving a potential deadlock

parent 106c74ec
......@@ -133,7 +133,7 @@ void MetaDataManager::renderSnapshot()
tmp.open();
m_tmpSnapshotFilename = tmp.fileName();
connect( m_mediaPlayer, SIGNAL( snapshotTaken() ), this, SLOT( setSnapshot() ) );
connect( m_mediaPlayer, SIGNAL( snapshotTaken() ), this, SLOT( setSnapshot() ), Qt::QueuedConnection );
//The slot should be triggered in this methode
m_mediaPlayer->takeSnapshot( m_tmpSnapshotFilename.toStdString().c_str()
......
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