From 7c50e0b8df63048081108045533a852526c63218 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Wed, 31 Oct 2012 10:42:02 +0100 Subject: 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 --- src/tools/qdoc/qdocdatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/qdoc') 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(*c)); if ((*c)->type() == Node::Namespace) { const NamespaceNode* nspace = static_cast(*c); -- cgit v1.2.3