mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Extra safety for AudioEngine.
This commit is contained in:
@@ -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() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user