1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-04 13:17:34 +02:00

Set the playlist in audioengine to null when setting the playlist to null

This commit is contained in:
Leo Franchi
2011-10-30 20:49:26 -04:00
parent 5f62c1abb2
commit ca0166d8fd

View File

@@ -682,7 +682,10 @@ AudioEngine::setPlaylist( PlaylistInterface* playlist )
} }
if ( !playlist ) if ( !playlist )
{
m_playlist.clear();
return; return;
}
m_playlist = playlist->getSharedPointer(); m_playlist = playlist->getSharedPointer();