mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-21 05:11:44 +02:00
30 items backlog
This commit is contained in:
@@ -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() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user