Summary: | When current playlist is empty, loading a random mix or playlist shuffle dynamic playlist should auto-populate. | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Christie <dangle.baby> |
Component: | Playlists/Saved Playlists | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Christie
2006-05-02 10:44:19 UTC
SVN commit 536912 by seb: Automatically populate the playlist with items if it is empty when a dynamic playlist is loaded BUG: 126594 M +2 -1 playlist.cpp --- trunk/extragear/multimedia/amarok/src/playlist.cpp #536911:536912 @@ -3156,6 +3156,8 @@ { saveUndoState(); setDynamicMode( mode ); + if( isEmpty() ) + repopulate(); } void @@ -3172,7 +3174,6 @@ void Playlist::repopulate() //SLOT { - DEBUG_BLOCK // Repopulate the upcoming tracks MyIt it( this, MyIt::All ); QPtrList<QListViewItem> list; |