mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 17:29:42 +01:00
Set the playlist in audioengine to null when setting the playlist to null
This commit is contained in:
parent
5f62c1abb2
commit
ca0166d8fd
@ -682,7 +682,10 @@ AudioEngine::setPlaylist( PlaylistInterface* playlist )
|
||||
}
|
||||
|
||||
if ( !playlist )
|
||||
{
|
||||
m_playlist.clear();
|
||||
return;
|
||||
}
|
||||
|
||||
m_playlist = playlist->getSharedPointer();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user