summaryrefslogtreecommitdiffstats
path: root/src/diagram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r--src/diagram.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp
index 53c062b..7374622 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -208,7 +208,9 @@ QCString DiagramItem::label() const
QCString result;
if (!templSpec.isEmpty())
{
- result=insertTemplateSpecifierInScope(classDef->displayName(),templSpec);
+ // we use classDef->name() here and not diplayName() in order
+ // to get the name used in the inheritance relation.
+ result=insertTemplateSpecifierInScope(classDef->name(),templSpec);
}
else
{