Commit c3017e9e authored by Scott Wheeler's avatar Scott Wheeler

JuK already has code to find the files; make this work recursively.

CCMAIL:helio@conectiva.com.br

svn path=/trunk/kdemultimedia/juk/; revision=238978
parent c8ba662b
......@@ -320,9 +320,7 @@ Playlist *PlaylistSplitter::slotCreatePlaylistFromDir()
if(!playlist)
return 0;
const QStringList files = QDir(dirName).entryList(QDir::Files);
for(QStringList::ConstIterator it = files.begin(); it != files.end(); ++it)
slotAddToPlaylist(dirName + "/" + *it, playlist);
slotAddToPlaylist(dirName, playlist);
return playlist;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment