mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 08:04:25 +02:00
* Disable asserts for unknown playlists until PlaylistUpdaters are only loaded on demand.
This commit is contained in:
@@ -97,7 +97,7 @@ DatabaseCommand_SetPlaylistRevision::postCommitHook()
|
|||||||
|
|
||||||
// private, but we are a friend. will recall itself in its own thread:
|
// private, but we are a friend. will recall itself in its own thread:
|
||||||
playlist_ptr playlist = source()->dbCollection()->playlist( m_playlistguid );
|
playlist_ptr playlist = source()->dbCollection()->playlist( m_playlistguid );
|
||||||
Q_ASSERT( !playlist.isNull() );
|
// Q_ASSERT( !playlist.isNull() );
|
||||||
if ( !playlist )
|
if ( !playlist )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -134,8 +134,8 @@ DatabaseCommand_SetPlaylistRevision::exec( DatabaseImpl* lib )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
tDebug() << "Playlist:" << m_playlistguid << currentRevision << source()->friendlyName() << source()->id();
|
tDebug() << "ERROR: No such playlist:" << m_playlistguid << currentRevision << source()->friendlyName() << source()->id();
|
||||||
Q_ASSERT_X( false, "DatabaseCommand_SetPlaylistRevision::exec", "No such playlist, WTF?" );
|
// Q_ASSERT_X( false, "DatabaseCommand_SetPlaylistRevision::exec", "No such playlist, WTF?" );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user