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:
@@ -197,6 +197,8 @@ CollectionFlatModel::onTracksAdded( const QList<Tomahawk::query_ptr>& tracks )
|
|||||||
|
|
||||||
if ( m_tracksToAdd.count() && kickOff )
|
if ( m_tracksToAdd.count() && kickOff )
|
||||||
processTracksToAdd();
|
processTracksToAdd();
|
||||||
|
else if ( m_tracksToAdd.isEmpty() && m_loadingCollections.isEmpty() )
|
||||||
|
emit loadingFinished();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user