diff --git a/src/Cutter.cpp b/src/Cutter.cpp index 9265f4c1..631bbf7b 100644 --- a/src/Cutter.cpp +++ b/src/Cutter.cpp @@ -1571,8 +1571,7 @@ QList CutterCore::parseStringsJson(const QJsonDocument &doc) { QList ret; - QJsonObject stringsObj = doc.object(); - QJsonArray stringsArray = stringsObj["strings"].toArray(); + QJsonArray stringsArray = doc.array(); for (QJsonValue value : stringsArray) { QJsonObject stringObject = value.toObject();