summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-08-06 11:02:59 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-08-06 11:02:59 (GMT)
commit8521d8d32235ad5b59088121ea7b4e9ce69adfaa (patch)
tree403e2e522c1b73a9db8d7e5f40f30f9810c7b078 /tools
parent30d6f7ed29a2a5723387768cfe82a807a2724b8b (diff)
downloadQt-8521d8d32235ad5b59088121ea7b4e9ce69adfaa.zip
Qt-8521d8d32235ad5b59088121ea7b4e9ce69adfaa.tar.gz
Qt-8521d8d32235ad5b59088121ea7b4e9ce69adfaa.tar.bz2
doc: Fixed some qdoc errors.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/generator.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/qdoc3/generator.cpp b/tools/qdoc3/generator.cpp
index 24219a1..7f39be2 100644
--- a/tools/qdoc3/generator.cpp
+++ b/tools/qdoc3/generator.cpp
@@ -1068,8 +1068,11 @@ void Generator::generateSince(const Node *node, CodeMarker *marker)
Text text;
text << Atom::ParaLeft
<< "This "
- << typeString(node)
- << " was introduced in ";
+ << typeString(node);
+ if (node->type() == Node::Enum)
+ text << " was introduced or modified in ";
+ else
+ text << " was introduced in ";
if (project.isEmpty())
text << "version";
else