1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-21 13:21:52 +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; return;
} else { } else {
if( !m_deduper.isEmpty() ) if( m_deduper.size() > 30 )
m_deduper.pop_back(); m_deduper.pop_front();
m_deduper.append( QPair< QString, QString >( query->track(), query->artist() ) ); m_deduper.append( QPair< QString, QString >( query->track(), query->artist() ) );
} }