From fcdc5be4a6eba5d7d1de677cb86b7b386dff44a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 8 Oct 2010 15:10:11 +0000 Subject: [PATCH] * 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. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38898 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mediaplayer/playlist/Playlist.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/apps/mediaplayer/playlist/Playlist.cpp b/src/apps/mediaplayer/playlist/Playlist.cpp index 2494f02492..e55760c60a 100644 --- a/src/apps/mediaplayer/playlist/Playlist.cpp +++ b/src/apps/mediaplayer/playlist/Playlist.cpp @@ -467,11 +467,7 @@ Playlist::AppendRefs(const BMessage* refsReceivedMessage, int32 appendIndex) 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();