[vlc-devel] [PATCH] Fix #1529, wrong playlist sorting in Qt4

Rémi Denis-Courmont rdenis at simphalempin.com
Thu Apr 3 14:50:07 CEST 2008


Le Thursday 03 April 2008 11:50:24 Lukas Durfina, vous avez écrit :
>    this is a patch for ticket 1529.
> Problem was, that setSortingEnable() calls
> automatically sort(), but with descending order.
> Now it enables sorting before adding model,
> set right way of sorting and after then
> insert model.

I think the problem is that it calls sort() _at_all_. People usually want 
files rendered in whatever order their playlist had, or in whatever order 
they've inserted them in the command line, or through drag&drop. Not in 
whatever order the LibVLC playlist comes up with if sorted.

I could be wrong though.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list