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>
This commit is contained in:
parent
09ebab46b6
commit
7c50e0b8df
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user