mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
parent
c2fb4ad2fe
commit
9316ff8e92
@ -1571,8 +1571,7 @@ QList<StringDescription> CutterCore::parseStringsJson(const QJsonDocument &doc)
|
||||
{
|
||||
QList<StringDescription> ret;
|
||||
|
||||
QJsonObject stringsObj = doc.object();
|
||||
QJsonArray stringsArray = stringsObj["strings"].toArray();
|
||||
QJsonArray stringsArray = doc.array();
|
||||
for (QJsonValue value : stringsArray) {
|
||||
QJsonObject stringObject = value.toObject();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user