1
0
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:
Christian Muehlhaeuser 2012-06-01 08:43:58 +02:00
parent 11e1a410e8
commit 494df4e9a0

View File

@ -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();
}