Author: axeld Date: 2010-10-08 17:10:11 +0200 (Fri, 08 Oct 2010) New Revision: 38898 Changeset: http://dev.haiku-os.org/changeset/38898 Modified: haiku/trunk/src/apps/mediaplayer/playlist/Playlist.cpp Log: * We actually need to add the folders as documents, too, or else the mechanism won't work. That's not really satisfying, but works okay. Modified: haiku/trunk/src/apps/mediaplayer/playlist/Playlist.cpp =================================================================== --- haiku/trunk/src/apps/mediaplayer/playlist/Playlist.cpp 2010-10-08 13:16:49 UTC (rev 38897) +++ haiku/trunk/src/apps/mediaplayer/playlist/Playlist.cpp 2010-10-08 15:10:11 UTC (rev 38898) @@ -467,11 +467,7 @@ if (!subPlaylist.IsEmpty()) { // Add to recent documents - BEntry entry(&ref, true); - if (entry.IsDirectory()) - be_roster->AddToRecentFolders(&ref, kAppSig); - else - be_roster->AddToRecentDocuments(&ref, kAppSig); + be_roster->AddToRecentDocuments(&ref, kAppSig); } int32 subPlaylistCount = subPlaylist.CountItems();