debugger: avoid one inferior call in QDir dumper

Reviewed-by: Friedemann Kleint
This commit is contained in:
hjk
2010-11-01 11:53:33 +01:00
parent 36c00b4344
commit bc09afb5cf

View File

@@ -233,7 +233,7 @@ def qdump__QDateTime(d, item):
def qdump__QDir(d, item):
d.putStringValue(call(item.value, "path()"))
d.putStringValue(item.value["d_ptr"]["d"].dereference()["path"])
d.putNumChild(2)
if d.isExpanded(item):
with Children(d, 2):