mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-13 02:08:52 +01:00
Sorting for playlists.
This commit is contained in:
parent
248f1993a0
commit
c5c8499500
@ -134,5 +134,8 @@ bool CollectionInfo::itemIsLess(Item *lhs, Item *rhs)
|
||||
|
||||
void CollectionInfo::sortItems()
|
||||
{
|
||||
std::sort(items.begin(), items.end(), itemIsLess);
|
||||
for(Playlists_T::iterator it = playlists.begin(); it != playlists.end(); it++)
|
||||
{
|
||||
std::sort(it->second->begin(), it->second->end(), itemIsLess);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user