mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 23:12:14 -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue