mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Actually fix crash
This commit is contained in:
@@ -64,6 +64,7 @@ DatabaseCommand_DeleteDynamicPlaylist::postCommitHook()
|
|||||||
|
|
||||||
tLog( LOGVERBOSE ) << "Just tried to load playlist for deletion:" << m_playlistguid << "Did we get a null one?" << playlist.isNull();
|
tLog( LOGVERBOSE ) << "Just tried to load playlist for deletion:" << m_playlistguid << "Did we get a null one?" << playlist.isNull();
|
||||||
Q_ASSERT( !playlist.isNull() );
|
Q_ASSERT( !playlist.isNull() );
|
||||||
|
if ( !playlist.isNull() )
|
||||||
tLog( LOGVERBOSE ) << "is it a station?" << ( playlist->mode() == OnDemand );
|
tLog( LOGVERBOSE ) << "is it a station?" << ( playlist->mode() == OnDemand );
|
||||||
|
|
||||||
playlist->reportDeleted( playlist );
|
playlist->reportDeleted( playlist );
|
||||||
|
Reference in New Issue
Block a user