diff --git a/src/libs/qtcreatorcdbext/pytype.cpp b/src/libs/qtcreatorcdbext/pytype.cpp index f032c62f63c..2e769fa61f5 100644 --- a/src/libs/qtcreatorcdbext/pytype.cpp +++ b/src/libs/qtcreatorcdbext/pytype.cpp @@ -241,7 +241,7 @@ PyObject *type_TemplateArgument(Type *self, PyObject *args) if (innerTypes.size() <= index) Py_RETURN_NONE; - const std::string &innerType = innerTypes.at(index); + const std::string &innerType = SymbolGroupValue::stripConst(innerTypes.at(index)); if (numeric) { try { return Py_BuildValue("i", std::stoi(innerType));