Skip to content

Commit

Permalink
Update qt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
redstrate committed Dec 24, 2024
1 parent 9968be2 commit 6dcba5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gdb/printers/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def __init__(self, val):
realtype = val.type.strip_typedefs()
keytype = realtype.template_argument(0)
valtype = realtype.template_argument(1)
node_type = gdb.lookup_type('QMapData<' + keytype.name + ',' + valtype.name + '>::Node')
node_type = gdb.lookup_type('QMapData<' + str(keytype) + ',' + str(valtype) + '>::Node')
self.node_p_type = node_type.pointer()
self.root = val['d']['header']
self.current = None
Expand Down

0 comments on commit 6dcba5a

Please sign in to comment.