mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
* Don't crash when we couldn't retrieve the playlist.
This commit is contained in:
parent
d9a82109f5
commit
839197e902
@ -61,8 +61,8 @@ DatabaseCommand_DeletePlaylist::postCommitHook()
|
||||
|
||||
playlist_ptr playlist = source()->dbCollection()->playlist( m_playlistguid );
|
||||
Q_ASSERT( !playlist.isNull() );
|
||||
|
||||
playlist->reportDeleted( playlist );
|
||||
if ( playlist )
|
||||
playlist->reportDeleted( playlist );
|
||||
|
||||
if( source()->isLocal() )
|
||||
Servent::instance()->triggerDBSync();
|
||||
|
Loading…
x
Reference in New Issue
Block a user