formatting

This commit is contained in:
Cameron McDonald 2024-08-15 12:41:33 -05:00
parent 24fddc233e
commit bd29ea4215
3 changed files with 27 additions and 26 deletions

View file

@ -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,

View file

@ -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);