+
+ // This is crappy. We really should have a properly scaled image ready to go so we
+ // don't get Qt's default ugly looking fast scaling...
+
+#warning "!!! FIX !!! Need to create properly scaled down cart/label images!"
+//We've got the carts, now just need to do the labels...
+
+ unsigned long i = index.model()->data(index, FLM_INDEX).toUInt();
+ QString filename = index.model()->data(index, FLM_FILENAME).toString();
+ QImage label = index.model()->data(index, FLM_LABEL).value<QImage>();
+ QString nameToDraw;
+
+ if (i == 0xFFFFFFFF) // Not found...
+ {
+ int lastSlashPos = filename.lastIndexOf('/');
+ nameToDraw = "\"" + filename.mid(lastSlashPos + 1) + "\"";
+ }
+ else
+ nameToDraw = romList[i].name;
+
+ if (label.isNull())