summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-10-07 12:06:53 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-10-07 12:06:53 (GMT)
commit93b40aa12270714abe722bbc4e47166f5a47bdf4 (patch)
tree5968d5151ce733e00b8507a03fba63839e315702
parent8b80b6e87f187f2066cfba0123dbfd8948e9e220 (diff)
downloadQt-93b40aa12270714abe722bbc4e47166f5a47bdf4.zip
Qt-93b40aa12270714abe722bbc4e47166f5a47bdf4.tar.gz
Qt-93b40aa12270714abe722bbc4e47166f5a47bdf4.tar.bz2
qdoc: Don't generate html output for png files.
-rw-r--r--tools/qdoc3/pagegenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qdoc3/pagegenerator.cpp b/tools/qdoc3/pagegenerator.cpp
index a187c2e..37dc191 100644
--- a/tools/qdoc3/pagegenerator.cpp
+++ b/tools/qdoc3/pagegenerator.cpp
@@ -310,10 +310,10 @@ PageGenerator::generateInnerNode(const InnerNode* node, CodeMarker* marker)
const FakeNode *fakeNode = static_cast<const FakeNode *>(node);
if (fakeNode->subType() == Node::ExternalPage)
return;
-#ifdef QDOC_QML
+ if (fakeNode->subType() == Node::Image)
+ return;
if (fakeNode->subType() == Node::QmlPropertyGroup)
return;
-#endif
if (fakeNode->subType() == Node::Page) {
if (node->count() > 0)
qDebug("PAGE %s HAS CHILDREN", qPrintable(fakeNode->title()));