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;
|
QList<StringDescription> ret;
|
||||||
|
|
||||||
QJsonObject stringsObj = doc.object();
|
QJsonArray stringsArray = doc.array();
|
||||||
QJsonArray stringsArray = stringsObj["strings"].toArray();
|
|
||||||
for (QJsonValue value : stringsArray) {
|
for (QJsonValue value : stringsArray) {
|
||||||
QJsonObject stringObject = value.toObject();
|
QJsonObject stringObject = value.toObject();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user