1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 06:36:55 +02:00

Don't show neverending loading slider for empty collections

This commit is contained in:
Leo Franchi
2011-03-19 20:00:13 -04:00
parent 5c963912a8
commit e72010b263

View File

@@ -197,6 +197,8 @@ CollectionFlatModel::onTracksAdded( const QList<Tomahawk::query_ptr>& tracks )
if ( m_tracksToAdd.count() && kickOff )
processTracksToAdd();
else if ( m_tracksToAdd.isEmpty() && m_loadingCollections.isEmpty() )
emit loadingFinished();
}