Reposition PlaylistSlider when list contents changes or something is resized.

This commit is contained in:
Tobias Rundstrom 2006-03-11 18:45:26 -03:00
parent c4affb2619
commit 103e016cbd
4 changed files with 51 additions and 10 deletions

View file

@ -606,6 +606,7 @@ PlaylistList::addItem (PlaylistItem *i)
}
if (m_items->count()*getFontH () > size().height()) {
resize (size().width(), m_items->count ()*getFontH ());
emit sizeChanged (size());
}
}