Commit e07424db authored by Scott Wheeler's avatar Scott Wheeler

Ok, search playlists or vfolders or whatever you want to call them now

kind of work.

Outstanding issues:
*) They aren't saved and restored properly
*) The "more" and "fewer" buttons in the dialog don't do anything
*) The stuff for marking a playlist "dirty" isn't really working so the
   search might not be updated when the data in the collection list

But this all will follow shortly.

svn path=/trunk/kdemultimedia/juk/; revision=241062
parent abff17f4
......@@ -86,6 +86,7 @@ AdvancedSearchDialog::Result AdvancedSearchDialog::exec()
Result r;
r.result = DialogCode(KDialogBase::exec()); = m_search;
r.playlistName = m_playlistName;
return r;
......@@ -401,8 +401,13 @@ void PlaylistSplitter::slotAdvancedSearch()
AdvancedSearchDialog *d =
new AdvancedSearchDialog(uniquePlaylistName(i18n("Search Playlist")), this);
AdvancedSearchDialog::Result r = d->exec();
delete d;
if(r.result == AdvancedSearchDialog::Accepted) {
SearchPlaylist *p = new SearchPlaylist(, m_playlistStack, r.playlistName);
setupPlaylist(p, true, "find");
void PlaylistSplitter::slotGuessTagInfo(TagGuesser::Type type)
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