Commit 786cfdc9 authored by hjk's avatar hjk
Browse files

debugger: fix QRegion dumper

Item count is an integer, not a string.
parent 273b1da2
......@@ -1512,7 +1512,7 @@ def qdump__QRegion(d, item):
else:
try:
# Fails without debug info.
n = str(p.dereference()["numRects"])
n = int(p.dereference()["numRects"])
d.putItemCount(n)
d.putNumChild(n)
if d.isExpanded(item):
......
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