diff --git a/share/qtcreator/gdbmacros/gdbmacros.py b/share/qtcreator/gdbmacros/gdbmacros.py index b2f23993fbc5b4fadfac111d5882311f8a37fd40..54ddbd5f6630fb98b626a578f26fdbc5b9dc77c2 100644 --- a/share/qtcreator/gdbmacros/gdbmacros.py +++ b/share/qtcreator/gdbmacros/gdbmacros.py @@ -233,7 +233,7 @@ def qdump__QDateTime(d, item): def qdump__QDir(d, item): - d.putStringValue(call(item.value, "path()")) + d.putStringValue(item.value["d_ptr"]["d"].dereference()["path"]) d.putNumChild(2) if d.isExpanded(item): with Children(d, 2):