Debugger: Make QList as movable

Apparently changed in qtbase dafa3618d23.

Task-number: QTCREATORBUG-19812
Change-Id: I70f543c71cc2147cbd5ab33a070e1a35049f46a8
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2018-03-19 15:47:36 +01:00
parent 1bd4d97686
commit 80f98a7fb9

View File

@@ -3609,7 +3609,11 @@ class DumperBase:
'QXmlStreamNotationDeclaration', 'QXmlStreamEntityDeclaration' 'QXmlStreamNotationDeclaration', 'QXmlStreamEntityDeclaration'
): ):
return True return True
return strippedName == 'QStringList' and self.dumper.qtVersion() >= 0x050000 if strippedName == 'QStringList':
return self.dumper.qtVersion() >= 0x050000
if strippedName == 'QList':
return self.dumper.qtVersion() >= 0x050600
return False
class Field(collections.namedtuple('Field', class Field(collections.namedtuple('Field',
['dumper', 'name', 'type', 'bitsize', 'bitpos', ['dumper', 'name', 'type', 'bitsize', 'bitpos',