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

More debug an an assert to track down empty resolve status job

This commit is contained in:
Leo Franchi 2012-05-27 13:09:33 -04:00
parent d2f876b6f3
commit aee7dcd008

View File

@ -84,6 +84,10 @@ PipelineStatusItem::resolving( const Tomahawk::query_ptr& query )
else
m_latestQuery = QString( "%1 - %2" ).arg( query->artist() ).arg( query->track() );
if ( m_latestQuery.isEmpty() )
qDebug() << "EMPTY STRING IN STATUS ITEM:" << query->fullTextQuery() << query->track() << query->artist() << query->album();
Q_ASSERT( !m_latestQuery.isEmpty() );
emit statusChanged();
}