Dumper: Fix handling of namespaced Qt

Change-Id: I5fae8dd0051596e3fb13cce32f282f3442adc8c0
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2019-07-08 10:45:44 +02:00
parent 90392397cb
commit ea6592e9b4

View File

@@ -1207,7 +1207,7 @@ def qdump__QObjectPrivate__ConnectionList(d, value):
with Children(d): with Children(d):
first, last = value.split('pp') first, last = value.split('pp')
currentConnection = first currentConnection = first
connectionType = d.createType('QObjectPrivate::Connection') connectionType = d.createType('@QObjectPrivate::Connection')
while currentConnection and currentConnection != last: while currentConnection and currentConnection != last:
sender, receiver, slotObj, nextConnectionList, nextp, prev = \ sender, receiver, slotObj, nextConnectionList, nextp, prev = \
d.split('pppppp', currentConnection) d.split('pppppp', currentConnection)