mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Don't crash when we couldn't retrieve the playlist.
This commit is contained in:
@@ -61,7 +61,7 @@ DatabaseCommand_DeletePlaylist::postCommitHook()
|
|||||||
|
|
||||||
playlist_ptr playlist = source()->dbCollection()->playlist( m_playlistguid );
|
playlist_ptr playlist = source()->dbCollection()->playlist( m_playlistguid );
|
||||||
Q_ASSERT( !playlist.isNull() );
|
Q_ASSERT( !playlist.isNull() );
|
||||||
|
if ( playlist )
|
||||||
playlist->reportDeleted( playlist );
|
playlist->reportDeleted( playlist );
|
||||||
|
|
||||||
if( source()->isLocal() )
|
if( source()->isLocal() )
|
||||||
|
Reference in New Issue
Block a user