mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
* Emit finishedLoading() when we start adding tracks to the model.
This commit is contained in:
parent
11e1a410e8
commit
494df4e9a0
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user