qdoc: Fixed All Classes list
authorMartin Smith <martin.smith@digia.com>
Fri, 26 Oct 2012 12:35:44 +0000 (14:35 +0200)
committerMartin Smith <martin.smith@digia.com>
Fri, 26 Oct 2012 12:50:13 +0000 (14:50 +0200)
In Qt5, each class has a URL, so the test for an
empty URL fails in findAllClasses(). The test is
no longer necessary and is removed.

Task number: QTBUG-27695

Change-Id: Id3e7b17c9d68fc59340f88d1300f2a422ad2a18c
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/tools/qdoc/qdocdatabase.cpp

index 0c0b30e..77fceb5 100644 (file)
@@ -321,7 +321,7 @@ void QDocDatabase::findAllClasses(const InnerNode* node)
 {
     NodeList::const_iterator c = node->childNodes().constBegin();
     while (c != node->childNodes().constEnd()) {
-        if ((*c)->access() != Node::Private && (*c)->url().isEmpty()) {
+        if ((*c)->access() != Node::Private) {
             if ((*c)->type() == Node::Class && !(*c)->doc().isEmpty()) {
                 QString className = (*c)->name();
                 if ((*c)->parent() &&