diff options
author | Martin Smith <msmith@trolltech.com> | 2009-12-14 11:51:25 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-12-14 11:51:25 (GMT) |
commit | 0f18542566e72efc09a21c7f69927159d7ca2df5 (patch) | |
tree | 544b9a5fe6ad3252f32f3083d239d436c1e2b5a3 /tools | |
parent | 11f61a9c413352e01fd2180250aa3fb09e1b4ac9 (diff) | |
download | Qt-0f18542566e72efc09a21c7f69927159d7ca2df5.zip Qt-0f18542566e72efc09a21c7f69927159d7ca2df5.tar.gz Qt-0f18542566e72efc09a21c7f69927159d7ca2df5.tar.bz2 |
doc: Fixed erroneous qdoc error message.
qdoc reported a "No documentation" error for images used in
examples, but these images aren't supposed to have documentation.
Task-number: QTBUG-4484
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qdoc3/generator.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/qdoc3/generator.cpp b/tools/qdoc3/generator.cpp index 9389268..95319ca 100644 --- a/tools/qdoc3/generator.cpp +++ b/tools/qdoc3/generator.cpp @@ -323,7 +323,7 @@ void Generator::generateBody(const Node *node, CodeMarker *marker) const FakeNode *fake = static_cast<const FakeNode *>(node); if (fake->subType() == Node::Example) generateExampleFiles(fake, marker); - else if (fake->subType() == Node::File) + else if ((fake->subType() == Node::File) || (fake->subType() == Node::Image)) quiet = true; } @@ -547,9 +547,6 @@ void Generator::generateFileList(const FakeNode* fake, ++count; QString file = child->name(); - if (file == "network/qftp/images/dir.png") - qDebug() << "FILE:" << file; - openedList.next(); text << Atom(Atom::ListItemNumber, openedList.numberString()) << Atom(Atom::ListItemLeft, openedList.styleString()) |