forked from qt-creator/qt-creator
Dumper: Always respect Use Dynamic Type option
Task-number: QTCREATORBUG-7504 Change-Id: Ifdc3f541eb67c36ea0cb5e61a7e5954c39cd75c4 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1350,6 +1350,7 @@ class Dumper:
|
||||
|
||||
type = value.type.unqualified()
|
||||
typeName = str(type)
|
||||
tryDynamic &= self.useDynamicType
|
||||
|
||||
# FIXME: Gui shows references stripped?
|
||||
#warn(" ")
|
||||
@@ -1638,7 +1639,7 @@ class Dumper:
|
||||
check(False)
|
||||
|
||||
|
||||
if self.useDynamicType and tryDynamic:
|
||||
if tryDynamic:
|
||||
self.putItem(expensiveDowncast(value), False)
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user