mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
inline setsMap
This commit is contained in:
parent
172bcb7477
commit
6003464ccd
2 changed files with 1 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ bool OracleImporter::readSetsFromByteArray(const QByteArray &data)
|
|||
QList<SetToDownload> newSetList;
|
||||
|
||||
bool ok;
|
||||
setsMap = QtJson::Json::parse(QString(data), ok).toMap().value("data").toMap();
|
||||
auto setsMap = QtJson::Json::parse(QString(data), ok).toMap().value("data").toMap();
|
||||
if (!ok) {
|
||||
qDebug() << "error: QtJson::Json::parse()";
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -136,7 +136,6 @@ private:
|
|||
SetNameMap sets;
|
||||
|
||||
QList<SetToDownload> allSets;
|
||||
QVariantMap setsMap;
|
||||
|
||||
QString getMainCardType(const QStringList &typeList);
|
||||
CardInfoPtr addCard(QString name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue