Commit d7704881 authored by hjk's avatar hjk
Browse files

debugger: add dumper for QHostAddress

parent dd714e9c
......@@ -366,6 +366,15 @@ def qdump__QHashNode(d, item):
d.putItemHelper(Item(value, item.iname, "value"))
def qdump__QHostAddress(d, item):
data = item.value["d"]["d"].dereference()
d.putStringValue(data["ipString"])
d.putNumChild(1)
if d.isExpanded(item):
with Children(d):
d.putFields(Item(data, item.iname))
def qdump__QList(d, item):
d_ptr = item.value["d"]
begin = d_ptr["begin"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment