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:
parent
d2f876b6f3
commit
aee7dcd008
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user