mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
* Fixed getting list of recently played playlists.
This commit is contained in:
@@ -493,7 +493,7 @@ TomahawkSettings::recentlyPlayedPlaylistGuids( unsigned int amount ) const
|
|||||||
QStringList p = value( "playlists/recentlyPlayed" ).toStringList();
|
QStringList p = value( "playlists/recentlyPlayed" ).toStringList();
|
||||||
|
|
||||||
while ( amount && p.count() > (int)amount )
|
while ( amount && p.count() > (int)amount )
|
||||||
p.removeAt( p.count() - 1 );
|
p.removeAt( 0 );
|
||||||
|
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user