1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-25 02:09:48 +01:00

* Extra safety for AudioEngine.

This commit is contained in:
Christian Muehlhaeuser 2012-06-12 04:43:11 +02:00
parent 9093068504
commit 13c22e0c72

View File

@ -342,6 +342,9 @@ AudioEngine::sendWaitingNotification() const
void
AudioEngine::sendNowPlayingNotification( const Tomahawk::InfoSystem::InfoType type )
{
if ( m_currentTrack.isNull() )
return;
#ifndef ENABLE_HEADLESS
if ( m_currentTrack->toQuery()->coverLoaded() )
{