Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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
   changes

But this all will follow shortly.

CCMAIL:55524-done@bugs.kde.org

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