qdoc: Fixed All Functions list
authorMartin Smith <martin.smith@digia.com>
Tue, 30 Oct 2012 13:08:30 +0000 (14:08 +0100)
committerMartin Smith <martin.smith@digia.com>
Tue, 30 Oct 2012 14:07:08 +0000 (15:07 +0100)
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 <jerome.pasion@digia.com>
src/tools/qdoc/qdocdatabase.cpp

index 77fceb5..adbec4e 100644 (file)
@@ -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<const InnerNode*>(*c));
             }
             else if ((*c)->type() == Node::Function) {