Debugger: Recognize QChar as simple type

This avoids creating individual child items when expanding a QString.

Change-Id: I49382dcf947ee7ac0470415a71ab05ede5f71b29
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-09-22 09:17:16 +02:00
parent 2cabd2ceb5
commit 3e732396e7

View File

@@ -3539,7 +3539,8 @@ class DumperBase():
'long long': 'int:8', 'long long': 'int:8',
'unsigned long long': 'uint:8', 'unsigned long long': 'uint:8',
'float': 'float:4', 'float': 'float:4',
'double': 'float:8' 'double': 'float:8',
'QChar': 'uint:2'
}.get(self.name, None) }.get(self.name, None)
return res return res