Ticket #482: compare-fix.patch

File compare-fix.patch, 614 bytes (added by eskil <myth@…>, 14 years ago)

Fix to track compare method

  • mythplugins/mythmusic/mythmusic/metadata.cpp

     
    14311431int MetadataPtrList::compareItems(QPtrCollection::Item item1,
    14321432                                  QPtrCollection::Item item2)
    14331433{
    1434     return ((Metadata*)item2)->Track() - ((Metadata*)item1)->Track();
     1434    return ((Metadata*)item1)->Track() - ((Metadata*)item2)->Track();
    14351435}
    14361436
    14371437int MusicNodePtrList::compareItems (QPtrCollection::Item item1,