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

* Fixed AudioEngine::sendWaitingNotification.

This commit is contained in:
Christian Muehlhaeuser 2012-11-28 10:50:33 +01:00
parent a8aa861599
commit e248a56f05

View File

@ -327,7 +327,7 @@ AudioEngine::sendWaitingNotification() const
{
tDebug( LOGVERBOSE ) << Q_FUNC_INFO;
//since it's async, after this is triggered our result could come in, so don't show the popup in that case
if ( !m_playlist.isNull() && m_playlist->hasNextResult() )
if ( m_playlist && m_playlist->nextResult() && m_playlist->nextResult()->isOnline() )
return;
Tomahawk::InfoSystem::InfoPushData pushData (