mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-17 22:38:33 +01:00
Finish loading in RecentlyPlayedModel when there's no history to be found.
This commit is contained in:
parent
b6da0894b6
commit
051f922e10
@ -172,6 +172,7 @@ RecentlyPlayedModel::onPlaybackFinished( const Tomahawk::track_ptr& track, const
|
|||||||
void
|
void
|
||||||
RecentlyPlayedModel::onTracksLoaded( QList<Tomahawk::track_ptr> tracks, QList<Tomahawk::PlaybackLog> logs )
|
RecentlyPlayedModel::onTracksLoaded( QList<Tomahawk::track_ptr> tracks, QList<Tomahawk::PlaybackLog> logs )
|
||||||
{
|
{
|
||||||
|
finishLoading();
|
||||||
for ( int i = 0; i < tracks.count(); i++ )
|
for ( int i = 0; i < tracks.count(); i++ )
|
||||||
{
|
{
|
||||||
onPlaybackFinished( tracks.at( i ), logs.at( i ) );
|
onPlaybackFinished( tracks.at( i ), logs.at( i ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user