https://bugs.kde.org/show_bug.cgi?id=180404

--- Comment #10 from Tuomas Nurmi <tuo...@norsumanageri.org> ---
Both "Add to playlist" and dragging items from collections (codepaths at
CollectionTreeItemModelBase::mimeData( const QList<CollectionTreeItem*> &items
) and CollectionTreeView::playChildTracksSlot( Meta::TrackList list ) ) seem to
use use
    std::stable_sort( tracks.begin(), tracks.end(), Meta::Track::lessThan );
to sort the tracks to be added. Meta::Track::lessThan compares first disc and
track number if same album, then artist name alphabetically, then album name
alphabetically. So instead of using that lessThan, some different comparison
function that checks the current collection tree ordering would be required.
Maybe I'll try implementing (sooner or later).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to