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

* Fixed resolving top hits top-to-bottom.

This commit is contained in:
Christian Muehlhaeuser 2012-05-24 15:20:09 +02:00
parent ac26378914
commit ca41b8b7d3

View File

@ -235,13 +235,13 @@ ArtistInfoWidget::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestD
int i = 0;
foreach ( const QString& track, tracks )
{
queries << Query::get( m_artist->name(), track, QString() );
Pipeline::instance()->resolve( queries );
queries << Query::get( m_artist->name(), track, QString(), QString(), false );
if ( ++i == 15 )
break;
}
Pipeline::instance()->resolve( queries );
m_topHitsModel->append( queries );
break;
}