Commit 5ad20f66 authored by Scott Wheeler's avatar Scott Wheeler

CVS_SILENT Oops. Some evil tabs snuck into a spaces file. :-)

svn path=/trunk/kdemultimedia/juk/; revision=316899
parent f4cc1221
...@@ -167,8 +167,8 @@ void PlaylistCollection::duplicate() ...@@ -167,8 +167,8 @@ void PlaylistCollection::duplicate()
QString name = KInputDialog::getText( QString name = KInputDialog::getText(
i18n("Duplicate"), i18n("Duplicate"),
i18n("Please enter a name for this playlist:"), i18n("Please enter a name for this playlist:"),
uniquePlaylistName(currentPlaylist()->name()), uniquePlaylistName(currentPlaylist()->name()),
&ok); &ok);
if(!ok) if(!ok)
return; return;
...@@ -194,9 +194,9 @@ void PlaylistCollection::remove() ...@@ -194,9 +194,9 @@ void PlaylistCollection::remove()
void PlaylistCollection::reload() void PlaylistCollection::reload()
{ {
if(currentPlaylist() == CollectionList::instance()) if(currentPlaylist() == CollectionList::instance())
CollectionList::instance()->addFiles(m_folderList, m_importPlaylists); CollectionList::instance()->addFiles(m_folderList, m_importPlaylists);
else else
currentPlaylist()->slotReload(); currentPlaylist()->slotReload();
} }
...@@ -205,7 +205,7 @@ void PlaylistCollection::editSearch() ...@@ -205,7 +205,7 @@ void PlaylistCollection::editSearch()
SearchPlaylist *p = dynamic_cast<SearchPlaylist *>(currentPlaylist()); SearchPlaylist *p = dynamic_cast<SearchPlaylist *>(currentPlaylist());
if(!p) if(!p)
return; return;
AdvancedSearchDialog::Result r = AdvancedSearchDialog::Result r =
AdvancedSearchDialog(p->name(), p->playlistSearch(), widget).exec(); AdvancedSearchDialog(p->name(), p->playlistSearch(), widget).exec();
...@@ -259,10 +259,10 @@ void PlaylistCollection::createSearchPlaylist() ...@@ -259,10 +259,10 @@ void PlaylistCollection::createSearchPlaylist()
QString name = uniquePlaylistName(i18n("Search Playlist")); QString name = uniquePlaylistName(i18n("Search Playlist"));
AdvancedSearchDialog::Result r = AdvancedSearchDialog::Result r =
AdvancedSearchDialog(name, PlaylistSearch(), widget).exec(); AdvancedSearchDialog(name, PlaylistSearch(), widget).exec();
if(r.result == AdvancedSearchDialog::Accepted) if(r.result == AdvancedSearchDialog::Accepted)
raise(new SearchPlaylist(this, r.search, r.playlistName)); raise(new SearchPlaylist(this, r.search, r.playlistName));
} }
void PlaylistCollection::createFolderPlaylist() void PlaylistCollection::createFolderPlaylist()
......
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