diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-03-17 20:32:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-03-17 20:32:54 (GMT) |
commit | b1800e6e8923c5a1eeefb136103811135d5813bf (patch) | |
tree | 5c9d2280ca0cb07840bfa26ca4dbed5b3225d21f /src/diagram.cpp | |
parent | cff8111ed33af6033bd188868964d92ea3503188 (diff) | |
download | Doxygen-b1800e6e8923c5a1eeefb136103811135d5813bf.zip Doxygen-b1800e6e8923c5a1eeefb136103811135d5813bf.tar.gz Doxygen-b1800e6e8923c5a1eeefb136103811135d5813bf.tar.bz2 |
Release-1.8.0
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r-- | src/diagram.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp index c40002c..07fb4aa 100644 --- a/src/diagram.cpp +++ b/src/diagram.cpp @@ -209,7 +209,12 @@ QCString DiagramItem::label() const { // we use classDef->name() here and not diplayName() in order // to get the name used in the inheritance relation. - result=insertTemplateSpecifierInScope(classDef->name(),templSpec); + QCString n = classDef->name(); + if (n.right(2)=="-g" || n.right(2)=="-p") + { + n = n.left(n.length()-2); + } + result=insertTemplateSpecifierInScope(n,templSpec); } else { |