Commit 76ada175 authored by Scott Wheeler's avatar Scott Wheeler

Make sure that the entries in the tageditor combos are sorted.

svn path=/trunk/kdemultimedia/juk/; revision=361280
parent f52287d6
...@@ -378,11 +378,13 @@ void TagEditor::updateCollection() ...@@ -378,11 +378,13 @@ void TagEditor::updateCollection()
return; return;
QStringList artistList = list->uniqueSet(CollectionList::Artists); QStringList artistList = list->uniqueSet(CollectionList::Artists);
artistList.sort();
m_artistNameBox->listBox()->clear(); m_artistNameBox->listBox()->clear();
m_artistNameBox->listBox()->insertStringList(artistList); m_artistNameBox->listBox()->insertStringList(artistList);
m_artistNameBox->completionObject()->setItems(artistList); m_artistNameBox->completionObject()->setItems(artistList);
QStringList albumList = list->uniqueSet(CollectionList::Albums); QStringList albumList = list->uniqueSet(CollectionList::Albums);
artistList.sort();
m_albumNameBox->listBox()->clear(); m_albumNameBox->listBox()->clear();
m_albumNameBox->listBox()->insertStringList(albumList); m_albumNameBox->listBox()->insertStringList(albumList);
m_albumNameBox->completionObject()->setItems(albumList); m_albumNameBox->completionObject()->setItems(albumList);
......
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