summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-08-06 11:35:58 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-08-06 11:35:58 (GMT)
commit4fd56bd7c59804d23f3c0a4b32bf429a9d77f283 (patch)
tree52598d645a7fabc476d513c2eb3c4d7397ec9288 /tools/qdoc3
parent0df2adc66a72aeed79906e86527f80b337b32ab1 (diff)
parent1f32f4013ab9178e8434bff847013a84491fe516 (diff)
downloadQt-4fd56bd7c59804d23f3c0a4b32bf429a9d77f283.zip
Qt-4fd56bd7c59804d23f3c0a4b32bf429a9d77f283.tar.gz
Qt-4fd56bd7c59804d23f3c0a4b32bf429a9d77f283.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'tools/qdoc3')
-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