mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
More debug an an assert to track down empty resolve status job
This commit is contained in:
@@ -84,6 +84,10 @@ PipelineStatusItem::resolving( const Tomahawk::query_ptr& query )
|
|||||||
else
|
else
|
||||||
m_latestQuery = QString( "%1 - %2" ).arg( query->artist() ).arg( query->track() );
|
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();
|
emit statusChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user