Dumper: QJsonValue of String has no children

Change-Id: Ic6731ca6e7fe45792688623bffbbe0d9005bd1a8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Orgad Shaneh
2017-02-24 00:25:56 +02:00
committed by Orgad Shaneh
parent 2e7e95917e
commit 919ba9a925

View File

@@ -2572,7 +2572,7 @@ def qdumpHelper_QJsonValue(d, data, base, pv):
else:
length = d.extractUInt(data)
d.putValue(d.readMemory(data + 4, length * 2), 'utf16')
d.putNumChild(1)
d.putNumChild(0)
return
if t == 4:
d.putType('QJsonValue (Array)')