1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-24 01:39:42 +01:00

* Emit finishedLoading() when we start adding tracks to the model.

This commit is contained in:
Christian Muehlhaeuser 2012-06-01 08:44:11 +02:00
parent 494df4e9a0
commit 8ca0cfa917

View File

@ -210,6 +210,7 @@ PlaylistModel::insert( const QList< Tomahawk::plentry_ptr >& entries, int row )
if ( !entries.count() )
{
emit trackCountChanged( rowCount( QModelIndex() ) );
finishLoading();
return;
}
@ -256,6 +257,7 @@ PlaylistModel::insert( const QList< Tomahawk::plentry_ptr >& entries, int row )
emit endInsertRows();
emit trackCountChanged( rowCount( QModelIndex() ) );
finishLoading();
}