summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/generator.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-07-01 09:49:29 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-07-01 09:50:23 (GMT)
commitf1d54091ec24e6cf57008f9b4fac7ddf7c7c8de3 (patch)
treeeafe2e3fbb1d2eecbd65e800e066b09fb9b62ee1 /tools/qdoc3/generator.cpp
parent728430d16fd62de001ba8eaccabae41feef790f2 (diff)
downloadQt-f1d54091ec24e6cf57008f9b4fac7ddf7c7c8de3.zip
Qt-f1d54091ec24e6cf57008f9b4fac7ddf7c7c8de3.tar.gz
Qt-f1d54091ec24e6cf57008f9b4fac7ddf7c7c8de3.tar.bz2
doc: Fixed several qdoc error reports.
Also changed qdoc not to warn about undocumented parameters if the function is marked with the \reimp command.
Diffstat (limited to 'tools/qdoc3/generator.cpp')
-rw-r--r--tools/qdoc3/generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/generator.cpp b/tools/qdoc3/generator.cpp
index 7e10f3e..00831d1 100644
--- a/tools/qdoc3/generator.cpp
+++ b/tools/qdoc3/generator.cpp
@@ -401,7 +401,7 @@ void Generator::generateBody(const Node *node, CodeMarker *marker)
}
}
}
- if (needWarning)
+ if (needWarning && !func->isReimp())
node->doc().location().warning(
tr("Undocumented parameter '%1' in %2").arg(*a).arg(marker->plainFullName(node)));
}