Fixed annoying crashbug in playlist.

This commit is contained in:
Tobias 2006-03-22 16:41:16 -04:00
parent 5b519baa25
commit e6ecb50069

View file

@ -331,7 +331,7 @@ PlaylistList::mousePressEvent (QMouseEvent *event)
i = 0;
}
if (i > m_items->count ()) {
if (i > (m_items->count () - 1)) {
return;
}