summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/tree.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-07-07 12:21:55 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-07-07 12:21:55 (GMT)
commit896de79554060aadf4963d8285ef3f5d8740428b (patch)
treea6ef96517ec9977bf97131a43f62a3cd68feeebf /tools/qdoc3/tree.cpp
parent047dd2d73fab867187d17f684be464233f64165b (diff)
downloadQt-896de79554060aadf4963d8285ef3f5d8740428b.zip
Qt-896de79554060aadf4963d8285ef3f5d8740428b.tar.gz
Qt-896de79554060aadf4963d8285ef3f5d8740428b.tar.bz2
qdoc: Fixed a few links to QtObject (QML:QtObject)
Diffstat (limited to 'tools/qdoc3/tree.cpp')
-rw-r--r--tools/qdoc3/tree.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/qdoc3/tree.cpp b/tools/qdoc3/tree.cpp
index 022e1c2..d22a09a 100644
--- a/tools/qdoc3/tree.cpp
+++ b/tools/qdoc3/tree.cpp
@@ -173,9 +173,11 @@ const Node* Tree::findNode(const QStringList &path,
}
if (node && i == path.size()
&& (!(findFlags & NonFunction) || node->type() != Node::Function
- || ((FunctionNode *)node)->metaness() == FunctionNode::MacroWithoutParams))
- if ((node != self) && (node->subType() != Node::QmlPropertyGroup))
+ || ((FunctionNode *)node)->metaness() == FunctionNode::MacroWithoutParams)) {
+ if ((node != self) && (node->subType() != Node::QmlPropertyGroup)) {
return node;
+ }
+ }
current = current->parent();
} while (current);