summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qdoc/qdocindexfiles.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qdoc/qdocindexfiles.cpp b/src/qdoc/qdocindexfiles.cpp
index 782af4f43..5f646b82c 100644
--- a/src/qdoc/qdocindexfiles.cpp
+++ b/src/qdoc/qdocindexfiles.cpp
@@ -1224,11 +1224,11 @@ bool QDocIndexFiles::generateIndexSection(QXmlStreamWriter& writer,
/*
Note: The "signature" attribute is written to the
- index file, but it is not read back in. Is that ok?
+ index file, but it is not read back in by qdoc. However,
+ we need it for the webxml generator.
*/
QString signature = functionNode->signature(false);
- if (functionNode->isConst())
- signature += " const";
+ // 'const' is already part of FunctionNode::signature()
if (functionNode->isFinal())
signature += " final";
if (functionNode->isOverride())