mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
* Fixed resolving top hits top-to-bottom.
This commit is contained in:
@@ -235,13 +235,13 @@ ArtistInfoWidget::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestD
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
foreach ( const QString& track, tracks )
|
foreach ( const QString& track, tracks )
|
||||||
{
|
{
|
||||||
queries << Query::get( m_artist->name(), track, QString() );
|
queries << Query::get( m_artist->name(), track, QString(), QString(), false );
|
||||||
Pipeline::instance()->resolve( queries );
|
|
||||||
|
|
||||||
if ( ++i == 15 )
|
if ( ++i == 15 )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Pipeline::instance()->resolve( queries );
|
||||||
m_topHitsModel->append( queries );
|
m_topHitsModel->append( queries );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user