forked from qt-creator/qt-creator
Debugger: Make QStandardItem test pass without debuginfo
Change-Id: I9afbe8c76b6ff0797859f72741941a9ed34e57a1 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -3615,6 +3615,8 @@ class DumperBase:
|
||||
if tn in ('QByteArray', 'QString', 'QList', 'QStringList',
|
||||
'QStringDataPtr'):
|
||||
return self.ptrSize()
|
||||
if tn == 'QStandardItemData':
|
||||
return 8 + 2 * self.ptrSize()
|
||||
if tn in ('QImage', 'QObject'):
|
||||
return 2 * self.ptrSize()
|
||||
if tn == 'QVariant':
|
||||
@@ -3623,6 +3625,8 @@ class DumperBase:
|
||||
return 16
|
||||
if typish == 'QPoint':
|
||||
return 8
|
||||
if typish == 'Qt::ItemDataRole':
|
||||
return 4
|
||||
if typish == 'QChar':
|
||||
return 2
|
||||
if typish in ('quint32', 'qint32'):
|
||||
|
||||
Reference in New Issue
Block a user