summaryrefslogtreecommitdiffstats
path: root/src/diagram.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-06-11 19:22:39 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-06-11 19:22:39 (GMT)
commit93737357fcce05f46d2db771293d746ea4b79acc (patch)
treea213e1477917c43abbeeac764fe4d2846e726728 /src/diagram.cpp
parent4bdaaa8da9bee65b5cda2e60a55f95d948feba88 (diff)
downloadDoxygen-93737357fcce05f46d2db771293d746ea4b79acc.zip
Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.gz
Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.bz2
Release-1.1.4-20000611
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r--src/diagram.cpp7
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