diff options
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r-- | src/diagram.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp index bbee306..9bb2a9f 100644 --- a/src/diagram.cpp +++ b/src/diagram.cpp @@ -196,14 +196,17 @@ DiagramItem::~DiagramItem() QCString DiagramItem::label() const { + QCString result; if (!templSpec.isEmpty()) { - return insertTemplateSpecifierInScope(classDef->name(),templSpec); + result=insertTemplateSpecifierInScope(classDef->name(),templSpec); } else { - return classDef->name(); + result=classDef->name(); } + if (Config::hideScopeNames) result=stripScope(result); + return result; } QCString DiagramItem::fileName() const |