Debugger: fix QStack and QDateTime dumper

amends 3aee50f5fd

Change-Id: Iaa6666eb6c59f88572add6ae79ef942643ba38d4
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2024-06-11 15:48:33 +02:00
parent 363e9b4c1a
commit 804a890a00

View File

@@ -312,7 +312,7 @@ def qdump__QDateTime(d, value):
# {sharedref(4), ... # {sharedref(4), ...
base = d.extractPointer(value) base = d.extractPointer(value)
is32bit = d.ptrSize() == 4 is32bit = d.ptrSize() == 4
if qtVersionAtLeast(0x050200): if d.qtVersionAtLeast(0x050200):
tiVersion = d.qtTypeInfoVersion() tiVersion = d.qtTypeInfoVersion()
#DumperBase.warn('TI VERSION: %s' % tiVersion) #DumperBase.warn('TI VERSION: %s' % tiVersion)
if tiVersion is None: if tiVersion is None:
@@ -1713,7 +1713,7 @@ def qform__QStack():
def qdump__QStack(d, value): def qdump__QStack(d, value):
if d.qtVersionVersionAtLeast(0x060000): if d.qtVersionAtLeast(0x060000):
qdump__QList(d, value) qdump__QList(d, value)
else: else:
qdump__QVector(d, value) qdump__QVector(d, value)