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:
@@ -598,6 +598,8 @@ PlayableModel::insertInternal( const QList< T >& items, int row )
|
||||
{
|
||||
emit trackCountChanged( rowCount( QModelIndex() ) );
|
||||
emit itemCountChanged( rowCount( QModelIndex() ) );
|
||||
|
||||
finishLoading();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -624,6 +626,7 @@ PlayableModel::insertInternal( const QList< T >& items, int row )
|
||||
|
||||
emit endInsertRows();
|
||||
emit trackCountChanged( rowCount( QModelIndex() ) );
|
||||
finishLoading();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user