forked from qt-creator/qt-creator
Debugger: fix QStack and QDateTime dumper
amends 3aee50f5fd
Change-Id: Iaa6666eb6c59f88572add6ae79ef942643ba38d4
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user