Commit 6c9bbdd6 authored by Frerich Raabe's avatar Frerich Raabe

- Don't insert items into the list view in reverse order

svn path=/trunk/kdemultimedia/juk/; revision=214513
parent 31606a4d
......@@ -32,8 +32,10 @@ TagGuesserConfigDlg::TagGuesserConfigDlg(QWidget *parent, const char *name)
const QStringList schemes = TagGuesser::schemeStrings();
QStringList::ConstIterator it = schemes.begin();
QStringList::ConstIterator end = schemes.end();
for (; it != end; ++it)
new KListViewItem(m_child->lvSchemes, *it);
for (; it != end; ++it) {
KListViewItem *item = new KListViewItem(m_child->lvSchemes, *it);
item->moveItem(m_child->lvSchemes->lastItem());
}
connect(m_child->lvSchemes, SIGNAL(currentChanged(QListViewItem *)),
this, SLOT(slotCurrentChanged(QListViewItem *)));
......
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