From 6dcba5a730a891ba3607180ba907e326af21bee0 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 24 Dec 2024 16:16:12 +0000 Subject: [PATCH] Update qt.py --- plugins/gdb/printers/qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gdb/printers/qt.py b/plugins/gdb/printers/qt.py index 8371c51008..97a4f53a13 100644 --- a/plugins/gdb/printers/qt.py +++ b/plugins/gdb/printers/qt.py @@ -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