Unbreak scrolling again.

This commit is contained in:
Tobias Rundstrom 2006-03-01 21:52:12 -03:00
parent f4c904b022
commit 7436ae5e45
2 changed files with 3 additions and 4 deletions

View file

@ -91,7 +91,7 @@ PlaylistList::playlistChanged (QHash<QString,QString> h)
{
uint id = h.value("id").toUInt();
if (m_itemmap->contains (id)) {
m_items->append (m_itemmap->value (id));
addItem (m_itemmap->value (id));
} else {
new PlaylistItem (this, id);
}
@ -182,7 +182,7 @@ PlaylistList::playlistList (QList<uint> l)
{
for (int i = 0; i < l.count(); i++) {
if (m_itemmap->contains (l.value(i))) {
m_items->append (m_itemmap->value (l.value(i)));
addItem (m_itemmap->value (l.value (i)));
} else {
new PlaylistItem (this, l.value(i));
}