From 89104fc27d08e75ac42a5db7e06f424337578956 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 29 Aug 2011 17:11:52 +0200 Subject: [PATCH] * Added more debug output for playlist errors. --- src/libtomahawk/playlist.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/libtomahawk/playlist.cpp b/src/libtomahawk/playlist.cpp index 1b5f037aa..ac7a6f29b 100644 --- a/src/libtomahawk/playlist.cpp +++ b/src/libtomahawk/playlist.cpp @@ -398,12 +398,6 @@ Playlist::setNewRevision( const QString& rev, QList 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 } }