Commit 3cf1eaac authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk

Dumper: Fix base class dumper for classes without namespace

Task-number: QTCREATORBUG-6933
Change-Id: Iac91b2aaf2e824fb99eed2360d53ecad963cee9f
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent d70505b0
......@@ -1671,7 +1671,10 @@ class Dumper:
self.putType(dtypeName)
if dtypeName in qqDumpers:
qqDumpers[dtypeName](self, expensiveUpcast(value))
if tryDynamic:
qqDumpers[dtypeName](self, expensiveUpcast(value))
else:
qqDumpers[dtypeName](self, value)
return
nsStrippedType = self.stripNamespaceFromType(dtypeName)\
......
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