by Neo254 » Mon Feb 22, 2010 5:31 pm
I have writen a function which sorts the playlist by clicking on the header tabs of the playlist.
1. Column: Sort by played, playing, not played
2. Column: Sort alphabetically by name
3. Column: Sort by duration, starting with the shortest
-> If you click and the list is already sorted, the sort will be inverted
Note 1: The sort algorithme is a bubble sort. The performance is not that good. 1.7s for 100 files and about 8s for 200 files. Maybe I will fix this.
Note 2: I have developed and tested it with Qt 4.6.2 under Windows 7. SMPlayer version: 0.6.8 (SVN r3213)
If you are interested have look at it. I commented all changes with //EDIT BY NEO --> <code> //<--
- Attachments
-
- src.rar
- Changed playlist source and header
- (11.3 KiB) Downloaded 426 times
It's not a bug, it's a feature!