forked from qt-creator/qt-creator
debugger: speedup QVariant dumper
Essential for QObject, too. Change-Id: Ie798227f6c8d07eff37e6dbadb7f6f5baa382ca8 Reviewed-on: http://codereview.qt.nokia.com/851 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1385,6 +1385,10 @@ class Dumper:
|
||||
self.currentType = type
|
||||
self.currentTypePriority = priority
|
||||
|
||||
def putBetterType(self, type, priority = 0):
|
||||
self.currentType = type
|
||||
self.currentTypePriority = self.currentTypePriority + 1
|
||||
|
||||
def putAddress(self, addr):
|
||||
if self.printsAddress:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user