Fixed annoying crashbug in playlist.
This commit is contained in:
parent
5b519baa25
commit
e6ecb50069
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ PlaylistList::mousePressEvent (QMouseEvent *event)
|
||||||
i = 0;
|
i = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i > m_items->count ()) {
|
if (i > (m_items->count () - 1)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue