diff options
author | Martin Smith <martin.smith@digia.com> | 2012-10-31 10:42:02 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@digia.com> | 2012-10-31 11:52:38 +0100 |
commit | 7c50e0b8df63048081108045533a852526c63218 (patch) | |
tree | 427a96d8b7e58d0203898cc466d9a26e753b2b96 /src | |
parent | 09ebab46b6200be3ed578be5cf40497fc5172183 (diff) |
qdoc: Fixed All Namespaces list
In Qt5, each namespace has a URL, so the test for an
empty URL fails in findAllNamespaces(). The test is
now wrong and is therefore removed.
Task number: QTBUG-27695
Change-Id: I888f70aff6e6e6c696e173caa91b5dcfabdab0ec
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/qdoc/qdocdatabase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qdoc/qdocdatabase.cpp b/src/tools/qdoc/qdocdatabase.cpp index adbec4eb24..b6163aa5b0 100644 --- a/src/tools/qdoc/qdocdatabase.cpp +++ b/src/tools/qdoc/qdocdatabase.cpp @@ -415,7 +415,7 @@ void QDocDatabase::findAllNamespaces(const InnerNode* node) NodeList::ConstIterator c = node->childNodes().constBegin(); while (c != node->childNodes().constEnd()) { if ((*c)->access() != Node::Private) { - if ((*c)->isInnerNode() && (*c)->url().isEmpty()) { + if ((*c)->isInnerNode()) { findAllNamespaces(static_cast<const InnerNode *>(*c)); if ((*c)->type() == Node::Namespace) { const NamespaceNode* nspace = static_cast<const NamespaceNode *>(*c); |