mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* Emit finishedLoading() when we start adding tracks to the model.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user