| Summary: | Playlist-Browser should not sort playlists alphabetically | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Dhraak |
| Component: | general | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.2-CVS | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Dhraak
2005-01-18 04:06:11 UTC
agree here, my version amarok 1.3-beta2 Can you update to 1.3 final and see if this is still happening? Yep, this one I can confirm myself Greg. A workaround is setting "Unsorted" in the Playlist Browser configuration menu, but the sorting options should apply only to the playlists, not to the playlists item. SVN commit 449581 by aoliveira:
Don't sort playlist and podcasts items.
Hey, it was easy!
BUG: 97297
M +5 -0 playlistbrowseritem.h
--- trunk/extragear/multimedia/amarok/src/playlistbrowseritem.h #449580:449581
@@ -137,6 +137,9 @@
PlaylistEntry( QListViewItem *parent, QListViewItem *after, const KURL &, int tracks=0, int length=0 );
PlaylistEntry( QListViewItem *parent, QListViewItem *after, QDomElement xmlDefinition );
~PlaylistEntry();
+
+ void sortChildItems ( int /*column*/, bool /*ascending*/ ) { /* Don't sort its children */ }; //reimplemented
+
void load();
void restore();
@@ -276,6 +279,8 @@
PodcastChannel( QListViewItem *parent, QListViewItem *after, const KURL &url,
QDomNode channelSettings, QDomDocument xml );
+ void sortChildItems ( int /*column*/, bool /*ascending*/ ) { /* Don't sort its children */ }; //reimplemented
+
void setNew( bool n = true );
bool hasNew() { return m_new; }
|