inline mainCardTypes list and make the method static

This commit is contained in:
RickyRister 2025-04-20 21:47:53 -07:00
parent ac6b3b5909
commit b75c88d6c7
2 changed files with 5 additions and 5 deletions

View file

@ -121,8 +121,6 @@ class OracleImporter : public QObject
{
Q_OBJECT
private:
const QStringList mainCardTypes = {"Planeswalker", "Creature", "Land", "Sorcery",
"Instant", "Artifact", "Enchantment"};
static const QRegularExpression formatRegex;
/**
@ -137,7 +135,6 @@ private:
QList<SetToDownload> allSets;
QString getMainCardType(const QStringList &typeList);
CardInfoPtr addCard(QString name,
QString text,
bool isToken,