From 09ebab46b6200be3ed578be5cf40497fc5172183 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Tue, 30 Oct 2012 14:08:30 +0100 Subject: [PATCH] qdoc: Fixed All Functions list In Qt5, each class has a URL, so the test for an empty URL fails in findAllFunctions(). The test is now wrong and is therefore removed. Task number: QTBUG-27695 Change-Id: If1aa823d4c59b91c67113f77a1a57c04ff7d1a02 Reviewed-by: Jerome Pasion --- src/tools/qdoc/qdocdatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/qdoc/qdocdatabase.cpp b/src/tools/qdoc/qdocdatabase.cpp index 77fceb5709..adbec4eb24 100644 --- a/src/tools/qdoc/qdocdatabase.cpp +++ b/src/tools/qdoc/qdocdatabase.cpp @@ -372,7 +372,7 @@ void QDocDatabase::findAllFunctions(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()) { findAllFunctions(static_cast(*c)); } else if ((*c)->type() == Node::Function) {