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:
parent
9093068504
commit
13c22e0c72
@ -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() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user