Commit c0b814e8 authored by hjk's avatar hjk Committed by hjk

debugger: Don't upcast before calling a base class dumper.

Task-number: QTCREATORBUG-6933
Change-Id: I4b300dfddad91997fa4c0ffa9cac16d12daeb707
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 7b471270
......@@ -1691,7 +1691,10 @@ class Dumper:
#warn(" STRIPPED: %s" % nsStrippedType)
#warn(" DUMPERS: %s" % (nsStrippedType in qqDumpers))
if nsStrippedType in qqDumpers:
qqDumpers[nsStrippedType](self, expensiveUpcast(value))
if tryDynamic:
qqDumpers[nsStrippedType](self, expensiveUpcast(value))
else:
qqDumpers[nsStrippedType](self, value)
return
# Is this derived from QObject?
......
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