1
0
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:
Christian Muehlhaeuser 2013-04-23 12:39:45 +02:00
parent d9a82109f5
commit 839197e902

View File

@ -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();