diff options
author | Martin Smith <martin.smith@digia.com> | 2013-10-01 14:35:37 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-01 18:07:20 +0200 |
commit | b906f3919b2d6d411c6f7e0ca3c9e68894a2b7df (patch) | |
tree | c696808391811a18b9f69bff882338df690a4b0e /src/tools/qdoc/tree.cpp | |
parent | 2c925906f516e7e47db9e82ed8bda1f675ab414a (diff) |
qdoc: Fixed handling of QML references
Updated qdoc to handle QML references without using the
QML module version.
Task-number: QTBUG-32173
Change-Id: Ibfba9bc92458ae04017706e904625e7d32fc0be4
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/tools/qdoc/tree.cpp')
-rw-r--r-- | src/tools/qdoc/tree.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/tools/qdoc/tree.cpp b/src/tools/qdoc/tree.cpp index 8c5ecdcfe9..5dd8540595 100644 --- a/src/tools/qdoc/tree.cpp +++ b/src/tools/qdoc/tree.cpp @@ -758,17 +758,4 @@ NamespaceNode* Tree::findNamespaceNode(const QStringList& path) const return static_cast<NamespaceNode*>(findNodeRecursive(path, 0, start, Node::Namespace, Node::NoSubType)); } -/*! - Find the Qml module node named \a path. Begin the search at the - \a start node. If the \a start node is 0, begin the search - at the root of the tree. Only a Qml module node named \a path is - acceptible. If one is not found, 0 is returned. - */ -DocNode* Tree::findQmlModuleNode(const QStringList& path, Node* start) -{ - if (!start) - start = const_cast<NamespaceNode*>(root()); - return static_cast<DocNode*>(findNodeRecursive(path, 0, start, Node::Document, Node::QmlModule)); -} - QT_END_NAMESPACE |