mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 07:22:16 -07:00
inline mainCardTypes list and make the method static
This commit is contained in:
parent
ac6b3b5909
commit
b75c88d6c7
2 changed files with 5 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue