mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
improved importer
This commit is contained in:
parent
aae2c437d6
commit
3c8f2b878b
9 changed files with 160 additions and 93 deletions
|
|
@ -35,7 +35,7 @@ QVariant CardDatabaseModel::data(const QModelIndex &index, int role) const
|
|||
case 0: return card->getName();
|
||||
case 1: {
|
||||
QStringList setList;
|
||||
QList<CardSet *> sets = card->getSets();
|
||||
const QList<CardSet *> &sets = card->getSets();
|
||||
for (int i = 0; i < sets.size(); i++)
|
||||
setList << sets[i]->getShortName();
|
||||
return setList.join(", ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue