mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Oracle: Import all sets by default
This commit is contained in:
parent
761d549f9a
commit
29a14d8f1d
1 changed files with 2 additions and 3 deletions
|
|
@ -45,9 +45,8 @@ bool OracleImporter::readSetsFromByteArray(const QByteArray &data)
|
|||
setType[0] = setType[0].toUpper();
|
||||
releaseDate = map.value("releaseDate").toDate();
|
||||
|
||||
// core and expansion sets are marked to be imported by default
|
||||
import = (0 == QString::compare(setType, QString("core"), Qt::CaseInsensitive) ||
|
||||
0 == QString::compare(setType, QString("expansion"), Qt::CaseInsensitive));
|
||||
// all are marked to be imported by default
|
||||
import = true;
|
||||
|
||||
newSetList.append(SetToDownload(edition, editionLong, editionCards, import, setType, releaseDate));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue