mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-20 04:41:36 +02:00
Show up to 50 top tracks per artist.
This commit is contained in:
@@ -155,7 +155,7 @@ ScriptAccount::reportScriptJobResult( const QVariantMap& result )
|
||||
Q_ASSERT( job );
|
||||
|
||||
// got a successful job result
|
||||
if ( result[ "error"].isNull() )
|
||||
if ( result[ "error" ].isNull() )
|
||||
{
|
||||
if ( result[ "data" ].type() == QVariant::Map )
|
||||
{
|
||||
|
@@ -367,7 +367,7 @@ ArtistInfoWidget::onTracksFound( const QList<Tomahawk::query_ptr>& queries, Mode
|
||||
Q_UNUSED( mode );
|
||||
|
||||
m_topHitsModel->finishLoading();
|
||||
m_topHitsModel->appendQueries( queries.mid( 0, 20 ) );
|
||||
m_topHitsModel->appendQueries( queries.mid( 0, 50 ) );
|
||||
m_topHitsModel->ensureResolved();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user