mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 07:22:16 -07:00
make getSetPriority static
This commit is contained in:
parent
0ebedb3bd8
commit
ac6b3b5909
2 changed files with 1 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ OracleImporter::OracleImporter(QObject *parent) : QObject(parent)
|
|||
{
|
||||
}
|
||||
|
||||
CardSet::Priority OracleImporter::getSetPriority(QString &setType, QString &shortName)
|
||||
static CardSet::Priority getSetPriority(const QString &setType, const QString &shortName)
|
||||
{
|
||||
if (!setTypePriorities.contains(setType.toLower())) {
|
||||
qDebug() << "warning: Set type" << setType << "unrecognized for prioritization";
|
||||
|
|
|
|||
|
|
@ -150,7 +150,6 @@ signals:
|
|||
|
||||
public:
|
||||
explicit OracleImporter(QObject *parent = nullptr);
|
||||
CardSet::Priority getSetPriority(QString &setType, QString &shortName);
|
||||
bool readSetsFromByteArray(const QByteArray &data);
|
||||
int startImport();
|
||||
bool saveToFile(const QString &fileName, const QString &sourceUrl, const QString &sourceVersion);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue