1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-20 04:41:36 +02:00

OK, really fix crash. Promise.

This commit is contained in:
Jeff Mitchell
2012-06-29 10:04:53 -04:00
parent a91ad7dd5f
commit 37510fc2d7

View File

@@ -65,9 +65,10 @@ 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() );
if ( !playlist.isNull() )
{
tLog( LOGVERBOSE ) << "is it a station?" << ( playlist->mode() == OnDemand );
playlist->reportDeleted( playlist );
playlist->reportDeleted( playlist );
}
if( source()->isLocal() )
Servent::instance()->triggerDBSync();