+ if (i == 0xFFFFFFFF) // Not found...
+ {
+ int lastSlashPos = filename.lastIndexOf('/');
+ nameToDraw = "\"" + filename.mid(lastSlashPos + 1) + "\"";
+ }
+ else
+ nameToDraw = romList[i].name;
+#if 0
+ if (role == Qt::DecorationRole)
+ return list.at(index.row()).label;
+ else if (role == Qt::DisplayRole)
+ return (uint)list.at(index.row()).dbIndex;
+ else if (role == Qt::EditRole)
+ return list.at(index.row()).filename;
+#endif
+
+// if (romList[i].file[0] == 0)
+ if (label.isNull())