1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

* Added more debug output for playlist errors.

This commit is contained in:
Christian Muehlhaeuser 2011-08-29 17:11:52 +02:00
parent 28e7413bdd
commit 89104fc27d

View File

@ -398,12 +398,6 @@ Playlist::setNewRevision( const QString& rev,
QList<plentry_ptr> entries;
foreach( const QString& id, neworderedguids )
{
/* qDebug() << "id:" << id;
qDebug() << "newordered:" << neworderedguids.count() << neworderedguids;
qDebug() << "entriesmap:" << entriesmap.count() << entriesmap;
qDebug() << "addedmap:" << addedmap.count() << addedmap;
qDebug() << "m_entries" << m_entries; */
if( entriesmap.contains( id ) )
{
entries.append( entriesmap.value( id ) );
@ -416,6 +410,13 @@ Playlist::setNewRevision( const QString& rev,
}
else
{
/* qDebug() << "id:" << id;
* qDebug() << "newordered:" << neworderedguids.count() << neworderedguids;
* qDebug() << "entriesmap:" << entriesmap.count() << entriesmap;
* qDebug() << "addedmap:" << addedmap.count() << addedmap;
* qDebug() << "m_entries" << m_entries; */
tLog() << "Playlist error for playlist with guid" << guid() << "from source" << author()->friendlyName();
Q_ASSERT( false ); // XXX
}
}