diff --git a/src/tools/qdoc/htmlgenerator.cpp b/src/tools/qdoc/htmlgenerator.cpp
index 0f5bf26e71..ced7e637b3 100644
--- a/src/tools/qdoc/htmlgenerator.cpp
+++ b/src/tools/qdoc/htmlgenerator.cpp
@@ -1226,11 +1226,10 @@ void HtmlGenerator::generateClassLikeNode(InnerNode* inner, CodeMarker* marker)
}
if (!s->reimpMembers.isEmpty()) {
QString name = QString("Reimplemented ") + (*s).name;
+ QString ref = registerRef(name.toLower());
// out() << "
\n";
- out() << "" << divNavTop << "\n";
- out() << "" << protectEnc(name) << "
\n";
+ out() << "" << divNavTop << "\n";
+ out() << "" << protectEnc(name) << "
\n";
generateSection(s->reimpMembers, inner, marker, CodeMarker::Summary);
}
@@ -2221,7 +2220,7 @@ void HtmlGenerator::generateTableOfContents(const Node *node,
else if (sections && (node->isClass() || node->isNamespace() || node->isQmlType())) {
QList::ConstIterator s = sections->constBegin();
while (s != sections->constEnd()) {
- if (!s->members.isEmpty() || !s->reimpMembers.isEmpty()) {
+ if (!s->members.isEmpty()) {
out() << "" << (*s).name
<< "\n";
}
+ if (!s->reimpMembers.isEmpty()) {
+ QString ref = QString("Reimplemented ") + (*s).pluralMember;
+ out() << "" << QString("Reimplemented ") + (*s).name
+ << "\n";
+ }
++s;
}
out() << "