QDoc: Fix no-examples option.
This was accidentally removed in the big change regarding searching in the internal QDoc tree. Change-Id: I2496d7497d239f1ec5fbd01be6a918c1ef29fc95 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>bb10
parent
b1addf36c1
commit
1ec7843856
|
|
@ -689,9 +689,11 @@ Node* CppCodeParser::processTopicCommand(const Doc& doc,
|
|||
return node;
|
||||
}
|
||||
else if (command == COMMAND_EXAMPLE) {
|
||||
ExampleNode* en = new ExampleNode(tree_->root(), arg);
|
||||
createExampleFileNodes(en);
|
||||
return en;
|
||||
if (Config::generateExamples) {
|
||||
ExampleNode* en = new ExampleNode(tree_->root(), arg);
|
||||
createExampleFileNodes(en);
|
||||
return en;
|
||||
}
|
||||
}
|
||||
else if (command == COMMAND_EXTERNALPAGE) {
|
||||
return new FakeNode(tree_->root(), arg, Node::ExternalPage, Node::ArticlePage);
|
||||
|
|
|
|||
Loading…
Reference in New Issue