diff --git a/src/libtomahawk/playlist/collectionflatmodel.h b/src/libtomahawk/playlist/collectionflatmodel.h index 65e1489a0..816be924d 100644 --- a/src/libtomahawk/playlist/collectionflatmodel.h +++ b/src/libtomahawk/playlist/collectionflatmodel.h @@ -60,7 +60,9 @@ signals: void repeatModeChanged( PlaylistInterface::RepeatMode mode ); void shuffleModeChanged( bool enabled ); - void itemSizeChanged( const QModelIndex& index ); + void loadingStarted(); + void loadingFinished(); + void trackCountChanged( unsigned int tracks ); private slots: void onDataChanged(); diff --git a/src/libtomahawk/playlist/playlistmodel.cpp b/src/libtomahawk/playlist/playlistmodel.cpp index c171f2cb1..b2bd84f35 100644 --- a/src/libtomahawk/playlist/playlistmodel.cpp +++ b/src/libtomahawk/playlist/playlistmodel.cpp @@ -99,6 +99,7 @@ PlaylistModel::loadPlaylist( const Tomahawk::playlist_ptr& playlist, bool loadEn int c = rowCount( QModelIndex() ); qDebug() << "Starting loading" << playlist->title(); + emit loadingStarted(); emit beginInsertRows( QModelIndex(), c, c + entries.count() - 1 ); m_waitingForResolved.clear(); diff --git a/src/libtomahawk/playlist/playlistmodel.h b/src/libtomahawk/playlist/playlistmodel.h index c3ad13e09..2d057a328 100644 --- a/src/libtomahawk/playlist/playlistmodel.h +++ b/src/libtomahawk/playlist/playlistmodel.h @@ -71,8 +71,6 @@ signals: void itemSizeChanged( const QModelIndex& index ); - void playlistDeleted(); - private slots: void onDataChanged();