mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
Build fix
This commit is contained in:
parent
0fb1086aca
commit
a869009909
@ -1056,7 +1056,8 @@ QList<StringDescription> CutterCore::getAllStrings()
|
|||||||
CORE_LOCK();
|
CORE_LOCK();
|
||||||
QList<StringDescription> ret;
|
QList<StringDescription> ret;
|
||||||
QJsonDocument stringsDoc = cmdj("izzj");
|
QJsonDocument stringsDoc = cmdj("izzj");
|
||||||
QJsonArray stringsArray = stringsDoc["strings"].toArray();
|
QJsonObject stringsObj = stringsDoc.object();
|
||||||
|
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