forked from qt-creator/qt-creator
Dumper: QJsonValue of String has no children
Change-Id: Ic6731ca6e7fe45792688623bffbbe0d9005bd1a8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
2e7e95917e
commit
919ba9a925
@@ -2572,7 +2572,7 @@ def qdumpHelper_QJsonValue(d, data, base, pv):
|
|||||||
else:
|
else:
|
||||||
length = d.extractUInt(data)
|
length = d.extractUInt(data)
|
||||||
d.putValue(d.readMemory(data + 4, length * 2), 'utf16')
|
d.putValue(d.readMemory(data + 4, length * 2), 'utf16')
|
||||||
d.putNumChild(1)
|
d.putNumChild(0)
|
||||||
return
|
return
|
||||||
if t == 4:
|
if t == 4:
|
||||||
d.putType('QJsonValue (Array)')
|
d.putType('QJsonValue (Array)')
|
||||||
|
Reference in New Issue
Block a user