From 494df4e9a0289d718b5e7cf9fd6d815f5f744ebd Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 1 Jun 2012 08:43:58 +0200 Subject: [PATCH] * Emit finishedLoading() when we start adding tracks to the model. --- src/libtomahawk/playlist/PlayableModel.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libtomahawk/playlist/PlayableModel.cpp b/src/libtomahawk/playlist/PlayableModel.cpp index e3b5817cd..d068fde54 100644 --- a/src/libtomahawk/playlist/PlayableModel.cpp +++ b/src/libtomahawk/playlist/PlayableModel.cpp @@ -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(); }