1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-01 14:42:25 +02:00

OK, really fix crash. Promise.

This commit is contained in:
Jeff Mitchell 2012-06-29 10:04:53 -04:00
parent 90de0237e0
commit 028f6b969e

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