mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 10:22:15 -07:00
formatting
This commit is contained in:
parent
24fddc233e
commit
bd29ea4215
3 changed files with 27 additions and 26 deletions
|
|
@ -30,7 +30,8 @@ Q_DECLARE_METATYPE(CardInfoPtr)
|
||||||
class CardSet : public QList<CardInfoPtr>
|
class CardSet : public QList<CardInfoPtr>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum Priority {
|
enum Priority
|
||||||
|
{
|
||||||
PriorityUndefined = 0,
|
PriorityUndefined = 0,
|
||||||
PriorityPrimary = 10,
|
PriorityPrimary = 10,
|
||||||
PrioritySecondary = 20,
|
PrioritySecondary = 20,
|
||||||
|
|
|
||||||
|
|
@ -503,9 +503,9 @@ int OracleImporter::startImport()
|
||||||
sets.insert(TOKENS_SETNAME, tokenSet);
|
sets.insert(TOKENS_SETNAME, tokenSet);
|
||||||
|
|
||||||
for (const SetToDownload &curSetToParse : allSets) {
|
for (const SetToDownload &curSetToParse : allSets) {
|
||||||
CardSetPtr newSet = CardSet::newInstance(curSetToParse.getShortName(), curSetToParse.getLongName(),
|
CardSetPtr newSet =
|
||||||
curSetToParse.getSetType(), curSetToParse.getReleaseDate(),
|
CardSet::newInstance(curSetToParse.getShortName(), curSetToParse.getLongName(), curSetToParse.getSetType(),
|
||||||
curSetToParse.getPriority());
|
curSetToParse.getReleaseDate(), curSetToParse.getPriority());
|
||||||
if (!sets.contains(newSet->getShortName()))
|
if (!sets.contains(newSet->getShortName()))
|
||||||
sets.insert(newSet->getShortName(), newSet);
|
sets.insert(newSet->getShortName(), newSet);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue