mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-19 04:52:12 +01:00
d358591726
Protecting with mutex stateChanged(Phonon::State) and starting/stopping playback looks dangerous, the media player may emit another state change leading to deadlock. The mutex should not be necessary here since all the slots are executed in the main thread. Changing the objectUpdated(UAVObject*) connection type to Qt::QueuedConnection is not strictly necessary, signals between threads are queued by default, it serves more the documentation purpose.