X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilelistmodel.cpp;h=626b296d9b637af178649f089da61cb4d164e421;hb=a7c352a26c0fbd32d85f3248a12d661c0bec4ac1;hp=8308c5c946123c3511c1eb07f7b776e8519c1123;hpb=f24ae2128609d5ab8c9a57dfd9dbb46afb7302a9;p=virtualjaguar diff --git a/src/gui/filelistmodel.cpp b/src/gui/filelistmodel.cpp index 8308c5c..626b296 100644 --- a/src/gui/filelistmodel.cpp +++ b/src/gui/filelistmodel.cpp @@ -131,6 +131,9 @@ void FileListModel::AddData(unsigned long index, QString str, QImage img, unsign data.crc = fileCrc; list.push_back(data); +//This is probably not the best way to do this, it prevents the user from using the +//list while it populates. +#warning "!!! AddData calls reset() for every addition, this is bad !!!" reset(); }