1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-20 04:41:36 +02:00

30 items backlog

This commit is contained in:
Leo Franchi
2011-06-14 19:31:31 -04:00
parent bfda50e604
commit 51e13ce11e

View File

@@ -90,8 +90,8 @@ DynamicModel::newTrackGenerated( const Tomahawk::query_ptr& query )
return;
} else {
if( !m_deduper.isEmpty() )
m_deduper.pop_back();
if( m_deduper.size() > 30 )
m_deduper.pop_front();
m_deduper.append( QPair< QString, QString >( query->track(), query->artist() ) );
}