mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Actually fix crash
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
Reference in New Issue
Block a user