summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-07-26 08:55:52 (GMT)
committerGitHub <noreply@github.com>2018-07-26 08:55:52 (GMT)
commit67e9459af107094ecb7b36d993b03f4d80b9fca6 (patch)
treef71cbe84384b8ae6ef0c60679fa19b5d483a6473 /src/htmlgen.cpp
parent666c3b44d3a341bdfc1029378c5a0abb9e00ca7c (diff)
parent135412e4e9af74cda860205b4c8104098c2b65aa (diff)
downloadDoxygen-67e9459af107094ecb7b36d993b03f4d80b9fca6.zip
Doxygen-67e9459af107094ecb7b36d993b03f4d80b9fca6.tar.gz
Doxygen-67e9459af107094ecb7b36d993b03f4d80b9fca6.tar.bz2
Merge pull request #6394 from albert-github/feature/bug_qt_link_tag
Wrong link generated for inherited members when tag files are used.
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index 121106a..87bc10a 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -2718,13 +2718,16 @@ void HtmlGenerator::writeInheritedSectionTitle(
DBG_HTML(t << "<!-- writeInheritedSectionTitle -->" << endl;)
QCString a = anchor;
if (!a.isEmpty()) a.prepend("#");
- QCString classLink = QCString("<a class=\"el\" href=\"");
+ QCString classLink = QCString("<a class=\"el\" ");
if (ref)
{
- classLink+= externalLinkTarget() + externalRef(relPath,ref,TRUE);
+ classLink+= externalLinkTarget();
+ classLink += " href=\"";
+ classLink+= externalRef(relPath,ref,TRUE);
}
else
{
+ classLink += "href=\"";
classLink+=relPath;
}
classLink+=file+Doxygen::htmlFileExtension+a;