1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-07 17:42:35 +02:00

Actually fix crash

This commit is contained in:
Jeff Mitchell 2012-06-29 10:02:08 -04:00
parent a846d91bef
commit 90de0237e0

View File

@ -64,7 +64,8 @@ DatabaseCommand_DeleteDynamicPlaylist::postCommitHook()
tLog( LOGVERBOSE ) << "Just tried to load playlist for deletion:" << m_playlistguid << "Did we get a null one?" << playlist.isNull();
Q_ASSERT( !playlist.isNull() );
tLog( LOGVERBOSE ) << "is it a station?" << ( playlist->mode() == OnDemand );
if ( !playlist.isNull() )
tLog( LOGVERBOSE ) << "is it a station?" << ( playlist->mode() == OnDemand );
playlist->reportDeleted( playlist );