mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 21:27:58 +02:00
Set the playlist in audioengine to null when setting the playlist to null
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user