1
0
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:
Christian Muehlhaeuser
2016-04-12 14:23:18 +02:00
parent 0a560f2f27
commit 21bdb0bc89
2 changed files with 2 additions and 2 deletions

View File

@@ -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 )
{

View File

@@ -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();
}