From e6ecb50069d8d659eff88944c869b8a330aadad6 Mon Sep 17 00:00:00 2001 From: Tobias Date: Wed, 22 Mar 2006 16:41:16 -0400 Subject: [PATCH] Fixed annoying crashbug in playlist. --- PlaylistList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlaylistList.cpp b/PlaylistList.cpp index 52e1f7e..f94de5a 100644 --- a/PlaylistList.cpp +++ b/PlaylistList.cpp @@ -331,7 +331,7 @@ PlaylistList::mousePressEvent (QMouseEvent *event) i = 0; } - if (i > m_items->count ()) { + if (i > (m_items->count () - 1)) { return; }