mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
Always clear spinner when no albums found to load in albumview
This commit is contained in:
parent
80e1946fa4
commit
708668ea0a
@ -290,14 +290,14 @@ AlbumModel::addFilteredCollection( const collection_ptr& collection, unsigned in
|
||||
void
|
||||
AlbumModel::addAlbums( const QList<Tomahawk::album_ptr>& albums )
|
||||
{
|
||||
emit loadingFinished();
|
||||
|
||||
if ( !albums.count() )
|
||||
return;
|
||||
|
||||
if ( m_overwriteOnAdd )
|
||||
clear();
|
||||
|
||||
emit loadingFinished();
|
||||
|
||||
int c = rowCount( QModelIndex() );
|
||||
QPair< int, int > crows;
|
||||
crows.first = c;
|
||||
|
Loading…
x
Reference in New Issue
Block a user