diff options
author | Martin Smith <msmith@trolltech.com> | 2010-03-11 08:13:54 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-03-11 08:13:54 (GMT) |
commit | a21ac7e75730bb094b49e5b58698a2ceebe8d73e (patch) | |
tree | 0187f97f1f41a04ac98812843fb879fd93f869cf /tools/qdoc3/tree.cpp | |
parent | 49bcf035d428d9d8bd2c4d546fc935e9d4ca0a2a (diff) | |
download | Qt-a21ac7e75730bb094b49e5b58698a2ceebe8d73e.zip Qt-a21ac7e75730bb094b49e5b58698a2ceebe8d73e.tar.gz Qt-a21ac7e75730bb094b49e5b58698a2ceebe8d73e.tar.bz2 |
qdoc: Fixed lookup of QML property nodes.
At this point, no QML qdoc errors appear in the output.
There is still a lot of debug output.
Diffstat (limited to 'tools/qdoc3/tree.cpp')
-rw-r--r-- | tools/qdoc3/tree.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qdoc3/tree.cpp b/tools/qdoc3/tree.cpp index 922c23e..7dcc8c3 100644 --- a/tools/qdoc3/tree.cpp +++ b/tools/qdoc3/tree.cpp @@ -54,6 +54,7 @@ #include "tree.h" #include <limits.h> +#include <qdebug.h> QT_BEGIN_NAMESPACE @@ -150,6 +151,7 @@ const Node *Tree::findNode(const QStringList &path, const Node *next = static_cast<const InnerNode*>(node)->findNode(path.at(i)); + if (!next && (findFlags & SearchEnumValues) && i == path.size()-1) next = static_cast<const InnerNode*>(node)->findEnumNodeForValue(path.at(i)); |