Commit 6144d10c authored by Scott Wheeler's avatar Scott Wheeler

Made the index and the list the same size.

svn path=/trunk/kdemultimedia/juk/; revision=141295
parent 2875ba45
......@@ -68,7 +68,7 @@ void GenreList::initializeIndex()
{
kdDebug() << "initializeIndex()" << endl;
index.clear();
index.resize(count() + 1);
index.resize(count());
for(GenreList::Iterator it = begin(); it != end(); ++it) {
if((*it).getId3v1() >= 0 && (*it).getId3v1() <= int(index.size())) {
// kdDebug() << "initializeIndex() - " << (*it).getId3v1() << " - "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment